Fact 1: coal is used to produce electricity by burning in coal-fire power stations. 
Fact 2: Heat is essential to the burning process.
Coal produces electricity by being heated up in coal-fire power stations.