The impervious geological stratum that overlays the reservoir rock and retains gas or oil in a reservoir.