The formation of Earth is a fascinating and complex process that scientists have been studying for centuries. The prevailing theory is that Earth formed from the dust and gas left over after the formation of the Sun, around 4.5 billion years ago.
The process began with the collapse of a massive cloud of gas and dust, known as the solar nebula. This collapse was caused by the pull of gravity, and as the cloud collapsed, it began to spin. As it spun, it flattened into a disk, with the densest material in the center forming the protosun, and the less dense material forming a disk around it.
As the disk cooled, small particles of dust and ice began to stick together, forming larger and larger clumps. These clumps eventually formed into planetesimals, which were the building blocks of the planets.
As the planetesimals grew larger, they began to collide and merge, forming even larger bodies known as protoplanets. Eventually, these protoplanets collided to form the four inner planets of the solar system: Mercury, Venus, Earth, and Mars.
The exact process by which Earth formed is still not fully understood, but scientists believe that a Mars-sized protoplanet, known as Theia, collided with a protoplanet that would become Earth. This collision caused a massive amount of material to be thrown into orbit around the newly formed Earth, which eventually came together to form the Moon.
The newly formed Earth was a molten ball of rock and metal, with a surface constantly bombarded by meteoroids, comets and other debris. But over time, the impacts slowed and the surface cooled and solidified. The heat generated by the impact of these bodies and the decay of radioactive isotopes in Earth's interior caused the formation of the Earth's first oceans and atmosphere, and then life emerged.
The Earth as we know it today is the result of a complex and dynamic process that took place over billions of years. While many questions about the formation of Earth remain unanswered, scientists continue to study the planet's history in order to better understand our place in the universe.