there are alot of types of energy in a car. you have mechanical, chemical, electrical.
When the car has no gas, no energy is used and no energy is produced.
mechanical energy
mechanical energy
Mechanical Energy
Mechanical Energy
From fuel used in car
Gasoline is used for the energy to power a car.
The car's gravitational potential energy.
Mechanical Energy
Your question contains the answer. It is used to store electrical energy. This energy is used to start the car and run the engine and all electronics.
It provides the original source of energy that makes the car move. Gasoline has chemical energy, that is easily converted to thermal energy and then to mechanical energy(movement), which is used to propel the car.
Energy stored in gasoline is converted to heat, then to the kinetic energy of the car.