
When an electric car drives away, the battery supplies power to the motor and the motor turns the wheels. When the car slows, the moving wheels can keep turning that same machine. Now it works as a generator. The electronics send some of the recovered energy back to the battery.
What makes the car slow down?
Making electricity takes a push. The generator puts a load on the turning wheels and that load slows the car. Driving downhill is a good place to notice it. Gravity keeps pulling the car down while the generator helps hold the speed and charges the battery.
Why does the car still need regular brakes?
The battery can only accept so much power and may take very little when it’s full or very cold. Friction brakes can handle more braking when needed, and they can stop and hold the car at very low speed.
For more on how electric cars use their motors and batteries, see Electric Vehicle Fundamentals.