No matter the ultimate source of energy, coal, oil, natural gas, nuclear, or hydroelectric, this energy is converted into mechanical work which turns a generator which produces electricity.
(mechanical work; turns; a generator which produces electricity) (a generator; produces; electricity)
mechanical work a generator
turns produces
a generator which produces electricity
electricity