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
Atmosphere of Jupiter is commonly treated as the base of the troposphere. In scientific literature, the 1 bar pressure level is usually chosen as a zero point for altitudes—a "surface" of Jupiter. As with Earth, the top atmospheric layer, the exosphere, does not have a well defined upper boundary. The density gradually decreases until it smoothly transitions into the interplanetary medium approximately 5,000 km above the "surface". The vertical temperature gradients in the Jovian atmosphere are similar to those of the atmosphere of Earth. The temperature of the troposphere decreases with height until it reaches a minimum at the tropopause, which is the