For most of Earth's history, life was limited to the microscopic realm, with bacteria occupying nearly every possible niche. Life is generally thought to have evolved in some of the most extreme environments, like hydrothermal vents deep in the ocean or hot springs that still simmer in Yellowstone. Much of what we know about the evolution of life comes from the rock record, which preserves rare fossils of bacteria from billions of years ago.