A viscous black liquid composed of a mixture of hydrocarbons formed over millions of years through the gradual decay of buried aquatic animal and vegetable matter. It collects in vast underground pockets in sedimentary rock at depths ranging from a few metres to several kilometres. It is brought to the surface by drilling and pumping operations. It is then refined into useful products in petroleum refineries.