The generator converts the engine's rotational motion into electrical energy, which drives the electric motor and charges the batteries.
(The generator; converts; the engine's rotational motion; into electrical energy) (electrical energy; drives; the electric motor) (electrical energy; charges; the batteries)
The generator electrical energy electrical energy
converts drives charges
the engine's rotational motion into electrical energy
the electric motor
the batteries