Venus is closer to the sun than Mercury, yet it has a higher temperature. Its greenhouse effect is caused by a high concentration of carbon dioxide.