The ancient ocean of Mars retreats toward the polar ice caps, which are the main reservoirs of water on the planet today.