The history of Earth diagram illustrates several important eras of planet earth. As the history of the earth diagram illustrates, the Earth formed about 4.54 billion years ago by accretion from the solar nebula, a disk-shaped mass of dust and gas left over from the formation of the Sun, which also created the rest of the Solar System. As per the diagram, Earth formed when gravity pulled swirling gas and dust in to become the third planet from the Sun. Like its terrestrial planets, Earth has a central core, a rocky mantle, and a solid crust. Volcanic outgassing probably created the primordial atmosphere and the ocean, but the early atmosphere contained almost no oxygen.