The Curiosity rover was sent up the Mount Sharp, the biggest sediments stack on Mars. On the way, it collected samples that indicated a portion of carbon dioxide in the Martian atmosphere might have been sequestered in the sedimentary rocks, just as it happens with limestone on Earth. This would have drawn carbon dioxide out of the atmosphere, reducing the greenhouse effect that warmed the planet.