Earth's distance from the sun is just right to sustain life, with neighbors Venus and Mars illustrating the impact of a slight difference in location.