even though mercury is the closest planet to the sun, it is not the hottest. this is because it has no greenhouse effect. the heat that the sun gives it, quickly escapes into space. the hottest planet is venus.