Fuels burn
when they react with oxygen in the air. If there is plenty of air,
complete combustion happens. Coal is mostly carbon. During complete
combustion, carbon is oxidized to carbon dioxide:
Carbon dioxide is a greenhouse gas. Increasing concentrations of it in the atmosphere contribute to global warming.
Hydrocarbon
fuels contain carbon and hydrogen. During combustion, hydrogen is oxidized to water (remember that water, H2O, is an oxide of hydrogen).
In general:
Solid
particles (particulates) are also released. These contain carbon and
are seen as soot or smoke. Particulates cause global dimming. They
reduce the amount of sunlight reaching the Earth’s surface.