Answer
oil and natural gas are extracted via a process called hydraulic fracking.
Conventional natural gas and oil deposits are found in permeable rocks, trapped below impermeable rock. These deposits can be extracted by drilling down through the impermeable rock into the permeable rock.
But gas and oil are also trapped in the spaces within impermeable shale rock. Therefore, because shale is impermeable, simply drilling down to it is not enough to extract these deposits. Instead the process of hydraulic fracturing, known commonly as fracking, is used. The rock has to be fractured to get the gas or oil out