An aquifer is of 2 types - unconfined and confined aquifers. It can be defined as a body of permeable rock which can contain groundwater.
Confined aquifers have an impermeable rock layer that prevents water from seeping into the aquifer from the ground surface. So, this aquifer is present between the rocks layer that are impermeable.