Evolution of the atmosphere
1. Water vapour condensed to form oceans
2. Carbon dioxide dissolved in oceans, forming carbonates and precipitating out
3. Plants and algae evolved, decreasing carbon dioxide and increasing oxygen
4. Sea animals used carbon dioxide to form shells and bones, which became limestone