Carbon dioxide. This is because when fossil fuels are burned, oxygen combines with carbon to form CO2 and with hydrogen to form water (H2O). These reactions release heat that we use for energy. For example, for the same amount of energy produced, burning natural gas produces about half of the amount of CO2 produced by burning coal.