Almost everything they can. Everything from simple compounds to reminisce of water. Mostly just looking for organic molecules. That is, molecules that have carbon in them. Sorry, no little green men.
The Spirit and Opportunity rovers were each launched on an Atlas V rocket, travelled throughout space for about 6 months, then parachuted through Mars's atmosphere and landed by Inflating large...