The Earth was formed 4.6 billion years ago from the solar nebula, a rotating disk of gas and dust that surrounded the Sun. The Moon was formed when a Mars-sized object collided with Earth and the debris ejected into space formed the Moon. Early Earth’s atmosphere was composed of gases such as nitrogen, carbon dioxide, and methane but evolved over…