Atmosphere of Earth primarily hydrogen. There were probably simple hydrides such as those now found in the gas giants (Jupiter and Saturn), notably water vapor, methane and ammonia. Outgassing from volcanism, supplemented by gases produced during the late heavy bombardment of Earth by huge asteroids, produced the next atmosphere, consisting largely of nitrogen plus carbon dioxide and inert gases. A major part of carbon-dioxide emissions dissolved in water and reacted with metals such as calcium and magnesium during weathering of crustal rocks to form carbonates that were deposited as sediments. Water-related sediments have been found that date from as early as 3.8 billion
Greenhouse and icehouse Earth producing more CO and heating up the Earth's atmosphere. Earth is more commonly placed in a greenhouse state throughout the epochs, and the Earth has been in this state for approximately 80% of the past 500 million years, which makes understanding the direct causes somewhat difficult. An "icehouse Earth" is the earth as it experiences an ice age. Unlike a greenhouse Earth, an icehouse Earth has ice sheets present, and these sheets wax and wane throughout times known as glacial periods and interglacial periods. During an icehouse Earth, greenhouse gases tend to be less abundant, and temperatures tend to be