Carbon cycle
The store of carbon in sedimentary rock is far greater than the CO2 in the atmosphere (this is not shown in the diagram). Eventually it returns to the air as oceanic plates subduct in plate tectonics. At the margins of plate boundaries (and some other places) volcanoes form and spew out CO2. This completes the cycle.