In petroleum geology, a trap is a geological structure affecting the reservoir rock and caprock of a petroleum system allowing the accumulation of hydrocarbons in a reservoir. Traps can be of two types: stratigraphic or structural. Structural traps are the most important type of trap as they represent the majority of the world's discovered petroleum resources.[1][2]