Generator: Any machine that converts mechanical energy into electrical energy.
(Any machine; converts; mechanical energy; into electrical energy)
Any machine
converts
mechanical energy into electrical energy