Petroleum or crude oil is a naturally occurring flammable liquid consisting of a complex mixture of hydrocarbons of various molecular weights and other liquid organic compounds that are found in geologic formations beneath the Earth's surface. Petroleum is recovered mostly through oil drilling. This latter stage comes after the studies of structural geology (at the reservoir scale) sedimentary basin analysis reservoir characterization (mainly in terms of porosity and permeable structures).