The main component of the atmosphere of Mars is carbon dioxide (CO2) at 95.9%. Each pole is in continual darkness during its hemisphere's winter, and the surface gets so cold that as much as 25% of the atmospheric CO2 condenses at the polar caps into solid CO2 ice (dry ice).