How Does An Electric Cars Work?

All-electric cars are powered by an electric motor, which draws their energy from a battery stack. In the early days of electric cars, these batteries were of the lead-acid type, but modern electric cars use lithium-ion batteries, which can store much more energy. Electric vehicles are like automatic cars. They have a round trip mode. When you start the vehicle and step on the gas pedal, these things happen:
i) The battery converts the electricity from direct current to alternating current for the electric motor.
ii) Signal to the controller that adjusts the vehicle speed by changing the alternating current frequency from the inverter to the motor.
iii) The motor connects and turns the wheels via a gear.
iv) When the brakes are applied or the car decelerates, the engine becomes an alternator and produces energy, that is sent back to the battery.