The Earth formed relatively quickly from the cloud of dust and gas around the Sun, trapping water and gases in the planet's mantle, based on neon isotopes from the depths of the Earth and deep space. Apart from settling Earth's origins, the work could help in identifying extrasolar systems that could support habitable planets.