And the rotating shaft turns a generator to convert mechanical energy to electrical energy.
(the rotating shaft; turns; a generator to convert mechanical energy to electrical energy)
the rotating shaft
turns
a generator to convert mechanical energy to electrical energy