The alternator of a Mazda MX5 NA (1989 - 1997) is driven by the engine via a belt and converts this rotary motion into electrical energy. Inside the alternator, bearings allow the rotor to rotate smoothly while generating electricity. While driving, this system supplies energy to lights and electronics while simultaneously rechargingthe battery in the car's engine compartment.