Final answer:
Natural gas and oil are extracted from sedimentary rock through the fracking process, which uses high-pressure fluids to create fractures in the rock and release the fossil fuels.
Step-by-step explanation:
The type of rock from which we get natural gas and oil during the fracking process is sedimentary rock. Fracking, short for hydraulic fracturing, is a technique that involves injecting high-pressure fluids into rocks to create fractures and extract trapped fossil fuels. Sedimentary rocks, such as sandstone and shale, are formed from the compaction and cementation of rock fragments and organic material. Oil and natural gas are specifically found in deposits under sedimentary rocks like shale, which acts as a source and also as a caprock that traps these resources beneath the surface. The fracking process targets these sedimentary deposits to release the gas and oil they contain.