Answer:
Cap rocks form the top of reservoirs and create a layer that is impervious to fluid flow By preventing fluids from flowing through it, the fluids are prevented from escaping the reservoir. This applies to oil and gas reservoirs. Oil and gas reservoirs often form in "traps"