The early atmosphere was probably mostly carbon dioxide, with little or no oxygen. There were smaller proportions of water vapour, ammonia and methane. As the Earth cooled down, most of the water vapour condensed and formed the oceans. ... For example, volcanoes release high quantities of carbon dioxide.