Mars rover technology tested out on West Highland rocks
The first, called Trace Gas Orbiter, was launched in 2016 while the second has a target launch of 2028, and aims to land the rover on the planet.
The robot is named after London-born scientist Rosalind Franklin, who died in 1958.
ESA said the missions would tackle the question of whether life has ever existed on Mars.
Dr Claire Cousins of the University of St Andrews said mission technology needed rigorous testing on Earth to make sure it would work on the red planet.
She said the rare geology around Lower Diabaig was "ideal" as a testbed.
She told BBC Scotland's Landward programme: "The rocks haven't metamorphosed right, they haven't been cooked and squeezed and crushed under mountain belts.
"They have been beautifully preserved - a slice of time."
The rocks include billion-year-old mudstone and other rocks which are stacked one on top of the other in layers.
Dr Cousins said: "These are perfect for showing us there was once liquid water - a habitable environment for life.
"Also, these rocks are very good at capturing evidence of that ancient past biology. It's sandwiched between the rocks."
She added: "We don't know yet if there was ever life on Mars, but these are the kinds of rocks that are going to preserve it."
Getty Images
Seven years ago a Nasa Mars rover, Curiosity, explored a part of the planet named after Torridon.
Martian geological areas and features have been named by Nasa after places on Earth.
Several of the names were taken from Scotland and, as well as Torridon, there is a Siccar Point, Muck, Wick, Sandwick and Holyrood on Mars.
Nasa chose the name Torridon due to the Torridonian Supergroup, a geological formation in the north-west Highlands that contains some of the oldest evidence of life of any rocks in the UK.
In 2012, Glenelg held a celebration in honour of a location on Mars being named after the small Highland community.