Eventually the animals and plants die. The dead bodies which are organic matter are broken down by decomposers and the carbon is returned to the atmosphere as carbon dioxide. Not all organic matter is decomposed immediately. Under certain conditions, some of the organic matter is compressed and heated underground, turning into fossil fuels. after many, many years. When these fossil fuels are burnt, most of the carbon enters the atmosphere as carbon dioxide. The cycle repeats.