An alternator consists of a rotor, stator, rectifier, and voltage regulator. The rotor spins inside the stator, which produces the electrical current. The rectifier converts the AC current produced by the stator to DC current, and the voltage regulator controls the output voltage.