Earth, Venus, and Mars are neighbors in the solar system. They’re all about the same size.
Billions of years ago, Venus and Mars may have had rivers, lakes, and even oceans. What happened? Water on Venus and Mars went into space, partly because of solar wind. Earth’s magnetic field protects it from solar wind. Only Earth has the right atmosphere and distance from our Sun to keep its water. This allows life to exist.