The primary purpose of Mars rovers is to explore the surface of Mars, collect data, and search for signs of past or present life.