In some cases, groundwater, oil, and natural gas can be found together in the same formation. This is most likely to occur in areas where there has been a lot of geologic activity, such as faulting or folding. In these areas, the pore spaces can be connected, allowing groundwater, oil, and natural gas to flow between them.
The presence of groundwater, oil, and natural gas in pore spaces in sedimentary rocks is important because these fluids can be used as resources. Groundwater is a source of drinking water, while oil and natural gas are sources of energy. The ability to extract these fluids from pore spaces in sedimentary rocks is essential to modern society.