Like other stars, the sun will eventually run out of energy and end up engulfing mercury and venus, possibly earth as well. The sun is about 150 million kilometers away from the earth.