Ans. Hydrocarbons are extracted from the Earth through a process called drilling. Oil and gas wells are drilled into underground reservoirs where hydrocarbons are trapped. Once the well reaches the reservoir, the hydrocarbons flow to the surface under natural pressure or with the help of pumps. The extracted hydrocarbons are then processed and refined for various uses.