Trap
Once hydrocarbons are formed, they migrate upwards from the source rock. If this migration continues unabated, the hydrocarbon would eventually escape on the surface. Sub-surface accumulation is a result of the reservoir fluid hitting a barrier which doesn't allow it to migrate any further. This barrier is called Trap. It could either be a structural trap or a stratigraphic trap or a combination of two.