earths early atmosphere volcanos erupted releasing water vapour, co2, sulfur dioxide and nitrogen
oceans were created by water vapour condensing
co2 dissolved into the ocean
algae evolved into plants, releasing O2 by using CO2 for photosynthesis
plants died covered with sediments gradually changing into coal, trapping CO2
marine creatures absorb CO2 to make shells, they die, shells make limestone also trapping CO2