When generating electricity, the rotating shaft, which is connected to an alternator or generator, converts the motion of the shaft into electrical energy.
(the rotating shaft; is connected; to an alternator or generator) (the rotating shaft, which is connected to an alternator or generator; converts; the motion of the shaft; into electrical energy; T:When generating electricity)
the rotating shaft the rotating shaft, which is connected to an alternator or generator
is connected converts
to an alternator or generator
the motion of the shaft into electrical energy T:When generating electricity