Why is there Air?
Originally Posted by biomed1
Earth’s original atmosphere was probably just hydrogen and helium, because these were the main gases in the dusty, gassy disk around the Sun from which the planets formed. The Earth and its atmosphere were very hot. Molecules of hydrogen and helium move really fast, especially when warm. Actually, they moved so fast they eventually all escaped Earth's gravity and drifted off into space.
Earth’s “second atmosphere” came from Earth itself. There were lots of volcanoes, many more than today, because Earth’s crust was still forming. The volcanoes released steam (H2O, with two hydrogen atoms and one oxygen atom), carbon dioxide (CO2, with one carbon atoms and two oxygen atoms), ammonia (NH3, with one nitrogen atom and three hydrogen atoms).
Much of the CO2 dissolved into the oceans. Eventually, a simple form of bacteria developed that could live on energy from the Sun and carbon dioxide in the water, producing oxygen as a waste product. Thus, oxygen began to build up in the atmosphere, while the carbon dioxide levels continued to drop. Meanwhile, the ammonia molecules in the atmosphere were broken apart by sunlight, leaving nitrogen and hydrogen. The hydrogen, being the lightest element, rose to the top of the atmosphere and much of it eventually drifted off into space.
Now we have Earth’s “third atmosphere,” the one we all know and love—an atmosphere containing enough oxygen for animals, including ourselves, to evolve.
So plants and some bacteria use carbon dioxide and give off oxygen, and animals use oxygen and give off carbon-dioxide—how convenient! The atmosphere upon which life depends was created by life itself.
(No, I didn’t write all that myself. Shamelessly stolen.)