The Viking missions to Mars in the early 1970s confirmed carbon dioxide in the Martian atmosphere and showed our first pictures of the surface.
What is the Earth's atmosphere made of?
The view from the Viking lander -- http://photojournal.jpl.nasa.gov