User: how does an electric car work
Assistant: Electric cars work by receiving energy from the battery, which is converted into power by an electric motor. The power is converted from the DC battery to AC for the electric motor. When an accelerator is pressed, it sends signal to the controller which adjusts the vehicle's speed by changing the frequency of the AC power from the inverter to the motor. Since the electric car gets is power from the battery, it usually consists of a rechargeable battery and doesn't contain liquid fuel components like fuel pump or fuel tank etc. This also makes the electric cars emit no exhaust.