Some cars also get their energy from alternative sources, such as electricity, hydrogen, or solar energy. Electric cars use batteries to store electrical energy, which is then used to power an electric motor that propels the car. Hydrogen cars use fuel cells to convert hydrogen gas into electricity, which is then used to power an electric motor. Solar cars use solar panels to convert sunlight into electricity, which is then used to power an electric motor.
The energy efficiency of a car is measured in miles per gallon (mpg) for gasoline-powered cars, and in miles per gallon equivalent (MPGe) for electric cars. The higher the mpg or MPGe, the more energy efficient the car.