Electrical generator driven off the engine which drives electrical accessories and charges the battery.

An alternator generates alternating current (AC) which is turned into the direct current (DC) needed by the electrical system using a rectifier pack.

Alternators replaced dynamos in the 1960s/70s.