During past ages, there was rain and snow on Mars; especially in the Noachian and early Hesperian epochs. Some moisture entered the ground and formed aquifers. That is, the water went into the ground, seeped down until it reached a formation that would not allow it to penetrate further (such a layer is called impermeable). Water then accumulated forming a saturated layer. Deep aquifers may still exist.