Answer. Petroleum is extracted by drilling holes (oil wells) into Earth's crust where the oil is found. When a well is drilled through the rocks, natural gas comes first with a great pressure. For some time crude oil also comes out by itself due to gas pressure. When gas pressure subsides, then crude oil is pumped out as shown in figure.