An alternator can be defined as an electrical generator that converts mechanical energy into electrical energy. The work is done in the form of an alternating current. The electrical components consist of a rotating magnetic field with a stationary armature, making it design less complex and cheap.
The alternator works with the battery to generate power the electrical components of the vehicle like the interior and exterior lights, etc. Alternators function as generators as they work the same ways. The pulley turns and creates direct current (DC). During the rotation, an alternating current (AC) passes through a magnetic field that creates the electrical current