One theory suggests that during the first billion years of the Earth’s existence there was intense volcanic activity that released gases that formed the early atmosphere and water vapour that condensed to form the oceans. At the start of this period the Earth’s atmosphere may have been like the atmospheres of Mars and Venus today, consisting of mainly carbon dioxide with little or no oxygen gas.