Aquifers are formed when water percolates into the ground and settles in an area of the earth's layers that can hold water, such as porous stones or gravel.