The terrestrial planets (Mercury, Venus, Earth, and Mars) are so close to the Sun that almost every common gas other than CO2 can not survive or stick around very long, and even that only persists because carbon-oxygen double bonds are incredibly strong and the CO2 molecule is relatively heavy.