An aquifer is a geologic layer which can hold water such as sand and gravel , limestone , or sandstone , through which water flows and is stored . An aquifer is a geologic layer of porous and permeable material such as sand and gravel , limestone , or sandstone , through which water flows and is stored .