Steps of the formation of oil and natural gas (2):
5. The heat and pressure turn the remains into crude oil and natural gas
6. They separate and rise because of their low density through the rocks, filling in the pores
7. The rock above the oil and gas is impervious (non-porous) so they get trapped underneath it
8. The oil are held in porous rock so they can be accessed via drilling