The heat and steam is used to power generators that convert the energy into electricity for heating and cooling buildings.
(The heat and steam; is used; to power generators) (generators; convert; the energy; into electricity)
The heat and steam generators
is used convert
to power generators
the energy into electricity