An aquifer is an underground layer where the material contains water. That can be less solid material like sand, gravel, clay or silt, but it can be rock as well, as long as the rock allows water to get in (that means that it is water-bearing). Groundwater can be taken out of the ground by digging a well. The study of water in aquifers is called hydrogeology.