A generator is a machine that converts mechanical energy into electrical energy.
(A generator; is; a machine that converts mechanical energy into electrical energy) (a machine; converts; mechanical energy; into electrical energy)
A generator a machine
is converts
a machine that converts mechanical energy into electrical energy
mechanical energy into electrical energy