Only Venus and Earth have a greenhouse effect because they have a substantial atmosphere. Venus actually has a runaway greenhouse effect causing its surface temperatures to rise to 450 Celsius.
The inner planet that has an atmosphere containing mostly carbon dioxide is Venus. It has an extremely dense atmosphere, made up mostly of carbon dioxide with small amounts of nitrogen and trace amounts of other gases. The thick atmosphere contributes to Venus' extreme greenhouse effect, making it the hottest planet in the solar system.
Venus is the hottest inner planet because of its thick atmosphere composed mainly of carbon dioxide. This atmosphere creates a strong greenhouse effect, trapping heat from the Sun and preventing it from escaping back into space. As a result, Venus has an average surface temperature of about 900 degrees Fahrenheit (475 degrees Celsius), making it hotter than Mercury, which is closer to the Sun.
Venus is the inner planet that has enough gravity to hold on to most gases. With a surface gravity about 90% that of Earth's, it can retain a thick atmosphere primarily composed of carbon dioxide, along with clouds of sulfuric acid. This dense atmosphere contributes to Venus's extreme greenhouse effect, resulting in surface temperatures hot enough to melt lead. In contrast, Mercury, the other inner planet, has too little gravity to retain a significant atmosphere.
Mercury, the known planet that orbits closest to the sun, has no atmosphere.
Venus.
Venus
The gasses surrounding a planet is called an atmosphere and what gasses surround a planet depends on the planet. Earth's atmosphere is a combination of oxygen, nitrogen, argon and carbon dioxide and Saturn's atmosphere is comprised of hydrogen and helium.
murcury
Venus has a very thick and acid filled atmosphere. The atmosphere of Venus is very dangerous to space probes. Over the years we have sent many probes to Venus but the corrosive acid and heavy atmosphere destroys them practically before they get to the surface!
Mercury is the only inner planet with no significant atmosphere. Its thin exosphere consists mainly of oxygen, sodium, hydrogen, helium, and potassium.
Mars