Fact 1: coal is used to produce electricity by burning in coal-fire power stations. 
Fact 2: Coal-fired power plants also contribute heavily to global warming.
Producing electricity by burning coal contributes to global warming.