The water would have had to continually collect salts, evaporate and transition into liquid water.
Each time this cycle repeated, as the water drained into the ground, it would have carried particles of carbon dioxide from the atmosphere with it.
Curiously, while too much carbon dioxide in the atmosphere can warm a world, too little will freeze it.
If too much carbon was locked into the Martian ground and the resulting atmosphere was too thin to keep Mars warm, the groundwater movement would halt as the planet froze.
And the analysis found the cycle would lock up a lot of carbon.
READ MORE: NASA probes strange impact crater on red planet