First, when fossil fuels (coal, oil, natural gas) are burned, the carbon in them combines with oxygen in the air to form CO2 (carbon dioxide). CO2 absorbs heat being radiated off the Earth that would normally escape into space, warming the atmosphere.