For example, yourcar battery could be dead.
Batteries can sometimes run electronic devices on a low charge.
Headlights, radios, and other car electronics draw very little amperageusually no more than 20 to 30 amps.

Pixabay
Pixabay
If the battery tests low with a hydrometer or fails a load test, it must be charged.
The problem is solved if it accepts a charge or a jump from another battery and the vehicle starts.
Check your car’s manual to find the location of the fuse box, then open it.

Pixabay
With no power running in the vehicle, inspect the fuse for a metal wire.
If the fuses are in good shape, the car’s ignition switch is faulty.
Diagnosing and fixing a broken ignition switch is more complicated than checking for a blown fuse.
Wikipedia Commons
However, sometimes, starters die a silent death.
Don’t rule out the starter just because you don’t hear anything.
To find out for sure, hire a mechanic.
Check for ground and power at the head unit.
For a quick fix, disconnect the battery, remove the headlight fuse, and remove the headlight relay.