Such a mechanism is known as a dynamo, a device that converts mechanical energy of motion into electrical energy.
(Such a mechanism; is known; as a dynamo) (a device; converts; mechanical energy of motion; into electrical energy)
Such a mechanism a device
is known converts
as a dynamo
mechanical energy of motion into electrical energy