A generator converts mechanical energy to electric energy, while a motor converts electric energy to mechanical energy.
(A generator; converts; mechanical energy; to electric energy) (a motor; converts; electric energy; to mechanical energy)
A generator a motor
converts converts
mechanical energy to electric energy
electric energy to mechanical energy