The early Earth formed 4.6 billion years ago as a hot, volcanic planet bombarded by cosmic rays. Basic organic molecules could form in the atmosphere and hydrothermal vents, allowing the origin of life as early as 4 billion years ago in primitive prokaryotic cells. Early life faced threats from UV radiation and temperature extremes but adapted by living in the protective environment of oceans and using deep sea vents as an energy source. Over time, evolution led to eukaryotic cells with organelles like mitochondria, multicellular life, and eventually plants and animals colonizing land while mass extinctions periodically wiped out large portions of species diversity.