Such reservoirs form when kerogen (ancient plant matter) is created in surrounding rock by the presence of high heat and pressure in the Earth's crust. Petroleum reservoirs are broadly classified as conventional and unconventional reservoirs. In conventional reservoirs, the naturally occurring hydrocarbons, such as crude oil or natural gas, are trapped by overlying rock formations with lower permeability, while in unconventional reservoirs, the rocks have high porosity and low permeability, which keeps the hydrocarbons trapped in place, therefore not requiring a cap rock. Reservoirs are found using hydrocarbon exploration methods.
An oil field is an area of accumulation of liquid oil underground in multiple (potentially linked) reservoirs, trapped as it rises by impermeable rock formations. In industrial terms, an oil field implies that there is economic benefit worthy of commercial attention.   Oil fields themselves may extend up to several hundred kilometers across the surface, meaning that extraction efforts can be large and spread out across the area. In addition to extraction equipment, there may be exploratory wells probing the edges to find more reservoir area, pipelines to transport the oil elsewhere, and support facilities.
Oil fields can occur anywhere that the geology of the underlying rock allows, meaning that certain fields can be far away from civilization, including at sea. Creating an operation at an oil field can be a logistically complex undertaking, as it involves not only the equipment associated with extraction and transportation, but infrastructure such as roads and housing for workers. This infrastructure has to be designed with the lifespan of the oil field in mind, as production can last many years. Several companies, such as Hill International, Bechtel, Esso, Weatherford International, Schlumberger Limited, Baker Hughes and Halliburton, have organizations that specialize in the large-scale construction of the infrastructure to support oil field exploitation.
The term "oilfield" can be used as a shorthand to refer to the entire petroleum industry. However, it is more accurate to divide the oil industry into three sectors: upstream ( crude oil production from wells and separation of water from oil), midstream ( pipeline and tanker transport of crude oil) and downstream ( refining of crude oil to products, marketing of refined products, and transportation to oil stations).
More than 65,000 oil fields are scattered around the globe, on land and offshore.  The largest are the Ghawar Field in Saudi Arabia and the Burgan Field in Kuwait, with more than 66 to 104 billion barrels (9.5×109 m3) estimated in each.   In the modern age, the location of oil fields with proven oil reserves is a key underlying factor in many geopolitical conflicts. 
Natural gas originates by the same geological thermal cracking process that converts kerogen to petroleum. As a consequence, oil and natural gas are often found together. In common usage, deposits rich in oil are known as oil fields, and deposits rich in natural gas are called natural gas fields.
In general, organic sediments buried in depths of 1,000 m to 6,000 m (at temperatures of 60 ° C to 150 °C) generate oil, while sediments buried deeper and at higher temperatures generate natural gas instead. The deeper the source, the "drier" the gas (that is, the smaller the proportion of condensates in the gas). Because both oil and natural gas are lighter than water, they tend to rise from their sources until they either seep to the surface or are trapped by a non-permeable stratigraphic trap. They can be extracted from the trap by drilling.
The largest natural gas field is South Pars/Asalouyeh gas field, which is shared between Iran and Qatar. The second largest natural gas field is the Urengoy gas field, and the third largest is the Yamburg gas field, both in Russia.
Like oil, natural gas is often found underwater in offshore gas fields such as the North Sea, Corrib Gas Field off Ireland, and near Sable Island. The technology to extract and transport offshore natural gas is different from land-based fields. It uses a few, very large offshore drilling rigs, due to the cost and logistical difficulties in working over water.
Rising gas prices in the early 21st century encouraged drillers to revisit fields that previously were not considered economically viable. For example, in 2008, McMoran Exploration passed a drilling depth of over 32,000 feet (9754 m) (the deepest test well in the history of gas production) at the Blackbeard site in the Gulf of Mexico.  Exxon Mobil's drill rig there had reached 30,000 feet by 2006, without finding gas, before it abandoned the site.
Crude oil is found in all oil reservoirs formed in the Earth's crust from the remains of once-living things. Evidence indicates that millions of years of heat and pressure changed the remains of microscopic plant and animal into oil and natural gas.
Roy Nurmi, an interpretation adviser for Schlumberger oil field services company, described the process as follows:
Plankton and algae, proteins and the life that's floating in the sea, as it dies, falls to the bottom, and these organisms are going to be the source of our oil and gas. When they're buried with the accumulating sediment and reach an adequate temperature, something above 50 to 70 °C they start to cook. This transformation, this change, changes them into the liquid hydrocarbons that move and migrate, will become our oil and gas reservoir. 
In addition to the aquatic environment, which is usually a sea but might also be a river, lake, coral reef, or algal mat, the formation of an oil or gas reservoir also requires a sedimentary basin that passes through four steps: 
- Deep burial under sand and mud
- Pressure cooking
- Hydrocarbon migration from the source to the reservoir rock
- Trapping by impermeable rock
Timing is also an important consideration; it is suggested that the Ohio River Valley could have had as much oil as the Middle East at one time, but that it escaped due to a lack of traps.  The North Sea, on the other hand, endured millions of years of sea level changes that successfully resulted in the formation of more than 150 oilfields. 
Although the process is generally the same, various environmental factors lead to the creation of a wide variety of reservoirs. Reservoirs exist anywhere from the land surface to 30,000 ft (9,000 m) below the surface and are a variety of shapes, sizes, and ages.  In recent years, igneous reservoirs have become an important new field of oil exploration, especially in trachyte and basalt formations. These two types of reservoirs differ in oil content and physical properties like fracture connectivity, pore connectivity, and rock porosity. 
A trap forms when the buoyancy forces driving the upward migration of hydrocarbons through a permeable rock cannot overcome the capillary forces of a sealing medium. The timing of trap formation relative to that of petroleum generation and migration is crucial to ensuring a reservoir can form. 
Petroleum geologists broadly classify traps into three categories that are based on their geological characteristics: the structural trap, the stratigraphic trap and the far less common hydrodynamic trap.  The trapping mechanisms for many petroleum reservoirs have characteristics from several categories and can be known as a combination trap. Traps are described as structural traps (in deformed strata such as folds and faults) or stratigraphic traps (in areas where rock types change, such as unconformities, pinch-outs and reefs). A trap is an essential component of a petroleum system.
Structural traps are formed as a result of changes in the structure of the subsurface due to processes such as folding and faulting, leading to the formation of domes, anticlines, and folds.  Examples of this kind of trap are an anticline trap,  a fault trap, and a salt dome trap (see salt dome).
They are more easily delineated and more prospective than their stratigraphic counterparts, with the majority of the world's petroleum reserves being found in structural traps.
Structural trap within an Anticline
Stratigraphic traps are formed as a result of lateral and vertical variations in the thickness, texture, porosity, or lithology of the reservoir rock. Examples of this type of trap are an unconformity trap, a lens trap and a reef trap. 
Hydrodynamic traps are a far less common type of trap.  They are caused by the differences in water pressure, that are associated with water flow, creating a tilt of the hydrocarbon-water contact.
The seal (also referred to as a cap rock) is a fundamental part of the trap that prevents hydrocarbons from further upward migration.
A capillary seal is formed when the capillary pressure across the pore throats is greater than or equal to the buoyancy pressure of the migrating hydrocarbons. They do not allow fluids to migrate across them until their integrity is disrupted, causing them to leak. There are two types of capillary seal  whose classifications are based on the preferential mechanism of leaking: the hydraulic seal and the membrane seal.
The membrane seal will leak whenever the pressure differential across the seal exceeds the threshold displacement pressure, allowing fluids to migrate through the pore spaces in the seal. It will leak just enough to bring the pressure differential below that of the displacement pressure and will reseal. 
The hydraulic seal occurs in rocks that have a significantly higher displacement pressure such that the pressure required for tension fracturing is actually lower than the pressure required for fluid displacement – for example, in evaporites or very tight shales. The rock will fracture when the pore pressure is greater than both its minimum stress and its tensile strength then reseal when the pressure reduces and the fractures close.
Unconventional reservoirs form in completely different ways to conventional reservoirs, the main difference being that they do not have "traps". This type of reservoir can be driven in a unique way as well, as buoyancy might not be the driving force for oil and gas accumulation in such reservoirs. This is analogous to saying that the oil which can be extracted forms within the source rock itself, as opposed to accumulating under a cap rock. Oil sands are an example of an unconventional oil reservoir. 
Unconventional reservoirs and their associated unconventional oil are always changing in their definitions, as they encompass a broad spectrum of petroleum extraction and refinement techniques, as well as many different sources. 
Due to how the oil is contained within the source rock, unconventional reservoirs require that the extracting entity function as a mining operation rather than drilling and pumping like a conventional reservoir. This has tradeoffs, with higher post-production costs associated with complete and clean extraction of oil being a factor of consideration for a company interested in pursuing a reservoir. Tailings are also left behind, increasing cleanup costs. Despite these tradeoffs, unconventional oil is being pursued at a higher rate due to the scarcity of conventional reservoirs around the world.
After the discovery of a reservoir, a petroleum engineer will seek to build a better picture of the accumulation. In a simple textbook example of a uniform reservoir, the first stage is to conduct a seismic survey to determine the possible size of the trap. Appraisal wells can be used to determine the location of oil-water contact and with it the height of the oil bearing sands. Often coupled with seismic data, it is possible to estimate the volume of an oil-bearing reservoir.
The next step is to use information from appraisal wells to estimate the porosity of the rock. The porosity, or the percentage of the total volume that contains fluids rather than solid rock, is 20–35% or less. It can give information on the actual capacity. Laboratory testing can determine the characteristics of the reservoir fluids, particularly the expansion factor of the oil, or how much the oil expands when brought from the high pressure and high temperature of the reservoir to a "stock tank" at the surface.
With such information, it is possible to estimate how many "stock tank" barrels of oil are located in the reservoir. Such oil is called the stock tank oil initially in place (STOIIP). As a result of studying factors such as the permeability of the rock (how easily fluids can flow through the rock) and possible drive mechanisms, it is possible to estimate the recovery factor, or what proportion of oil in place can be reasonably expected to be produced. The recovery factor is commonly 30–35%, giving a value for the recoverable resources. 
The difficulty is that reservoirs are not uniform. They have variable porosities and permeabilities and may be compartmentalized, with fractures and faults breaking them up and complicating fluid flow. For this reason, computer modeling of economically viable reservoirs is often carried out. Geologists, geophysicists, and reservoir engineers work together to build a model that allows simulation of the flow of fluids in the reservoir, leading to an improved estimate of the recoverable resources.
Reserves are only the part of those recoverable resources that will be developed through identified and approved development projects. Because the evaluation of "Reserves" has a direct impact on the company or the asset value, it usually follows a strict set of rules or guidelines (even though loopholes are commonly used by companies to inflate their own share price). The most common guidelines are the SPE PRMS guidelines, the SEC Rules, or the COGE Handbook. Government may also have their own systems, making it more complicated for investors to compare one company with another.
To obtain the contents of the oil reservoir, it is usually necessary to drill into the Earth's crust, although surface oil seeps exist in some parts of the world, such as the La Brea tar pits in California and numerous seeps in Trinidad. Factors that affect the quantity of recoverable hydrocarbons in a reservoir include the fluid distribution in the reservoir, initial volumes of fluids in place, reservoir pressure, fluid and rock properties, reservoir geometry, well type, well count, well placement, development concept, and operating philosophy.  
A virgin reservoir may be under sufficient pressure to push hydrocarbons to the surface. As the fluids are produced, the pressure will often decline, and production will falter. The reservoir may respond to the withdrawal of fluid in a way that tends to maintain the pressure. Artificial drive methods may be necessary.
This mechanism (also known as depletion drive) depends on the associated gas of the oil. The virgin reservoir may be entirely semi-liquid but will be expected to have gaseous hydrocarbons in solution due to the pressure. As the reservoir depletes, the pressure falls below the bubble point and the gas comes out of solution to form a gas cap at the top. This gas cap pushes down on the liquid helping to maintain pressure.
This occurs when the natural gas is in a cap below the oil. When the well is drilled the lowered pressure above means that the oil expands. As the pressure is reduced it reaches bubble point and subsequently the gas bubbles drive the oil to the surface. The bubbles then reach critical saturation and flow together as a single gas phase. Beyond this point and below this pressure the gas phase flows out more rapidly than the oil because of its lowered viscosity. More free gas is produced and eventually the energy source is depleted. In some cases depending on the geology the gas may migrate to the top of the oil and form a secondary gas cap.
Some energy may be supplied by water, gas in water, or compressed rock. These are usually minor contributions with respect to hydrocarbon expansion.
By properly managing the production rates, greater benefits can be had from solution-gas drives. Secondary recovery involves the injection of gas or water to maintain reservoir pressure. The gas/oil ratio and the oil production rate are stable until the reservoir pressure drops below the bubble point when critical gas saturation is reached. When the gas is exhausted, the gas/oil ratio and the oil rate drops, the reservoir pressure has been reduced, and the reservoir energy exhausted.
In reservoirs already having a gas cap (the virgin pressure is already below bubble point), the gas cap expands with the depletion of the reservoir, pushing down on the liquid sections applying extra pressure.
This is present in the reservoir if there is more gas than can be dissolved in the reservoir. The gas will often migrate to the crest of the structure. It is compressed on top of the oil reserve, as the oil is produced the cap helps to push the oil out. Over time the gas cap moves down and infiltrates the oil and eventually the well will begin to produce more and more gas until it produces only gas. It is best to manage the gas cap effectively, that is, placing the oil wells such that the gas cap will not reach them until the maximum amount of oil is produced. Also a high production rate may cause the gas to migrate downward into the production interval. In this case, over time, the reservoir pressure depletion is not as steep as in the case of solution-based gas drive. In this case, the oil rate will not decline as steeply but will depend also on the placement of the well with respect to the gas cap.
As with other drive mechanisms, water or gas injection can be used to maintain reservoir pressure. When a gas cap is coupled with water influx the recovery mechanism can be highly efficient.
Water (usually salty) may be present below the hydrocarbons. Water, as with all liquids, is compressible to a small degree. As the hydrocarbons are depleted, the reduction in pressure in the reservoir allows the water to expand slightly. Although this unit expansion is minute, if the aquifer is large enough this will translate into a large increase in volume, which will push up on the hydrocarbons, maintaining pressure.
With a water-drive reservoir, the decline in reservoir pressure is very slight; in some cases, the reservoir pressure may remain unchanged. The gas/oil ratio also remains stable. The oil rate will remain fairly stable until the water reaches the well. In time, the water cut will increase and the well will be watered out. 
The water may be present in an aquifer (but rarely one replenished with surface water). This water gradually replaces the volume of oil and gas that is produced out of the well, given that the production rate is equivalent to the aquifer activity. That is, the aquifer is being replenished from some natural water influx. If the water begins to be produced along with the oil, the recovery rate may become uneconomical owing to the higher lifting and water disposal costs.
If the natural drives are insufficient, as they very often are, then the pressure can be artificially maintained by injecting water into the aquifer or gas into the gas cap.
The force of gravity will cause the oil to move downward of the gas and upward of the water. If vertical permeability exists then recovery rates may be even better.
These occur if the reservoir conditions allow the hydrocarbons to exist as a gas. Retrieval is a matter of gas expansion. Recovery from a closed reservoir (i.e., no water drive) is very good, especially if bottom hole pressure is reduced to a minimum (usually done with compressors at the wellhead). Any produced liquids are light-colored to colorless, with a gravity higher than 45 API. Gas cycling is the process where dry gas is injected and produced along with condensed liquid.
- Drilling fluid
- Drilling rig
- List of acronyms in oil and gas exploration and production
- List of natural gas fields
- List of oil fields
- List of oilfield service companies
- North Sea Oil
- Oilfield terminology
- Oil platform
- Oil well
- Petroleum play
- Stranded gas reserve
- Underground hydrogen storage
- Well stimulation
- API Executive Committee on Standardization of Oilfield Equipment and Materials (January 1, 1988). "Glossary of Oilfield Production Terminology" (PDF). Dallas: American Petroleum Institute. Retrieved 10 February 2020.
- Gillis, Gretchen. "oil field - Schlumberger Oilfield Glossary". www.glossary.oilfield.slb.com. Retrieved 2020-02-11.
- 1930-, Li, Guoyu (2011). World atlas of oil and gas basins. Wiley-Blackwell. ISBN 978-1-4443-9005-6. OCLC 707075078.CS1 maint: numeric names: authors list ( link)
- Staniford, Stuart (May 2007). "Depletion Levels in Ghawar". www.321energy.com. Archived from the original on May 2016. Retrieved 2021-11-23.
- "Foreign Policy: The List: Taking Oil Fields Offline". August 2006. Archived from the original on 2006-08-20. Retrieved 2021-11-23.
- Yergin, Daniel (1991). The Prize: The Epic Quest for Oil, Money, and Power. New York: Simon & Schuster. ISBN 0-671-50248-4.
- A Famed Dry Hole Gets a Second Shot, Wall Street Journal, 21 July 2008, p.B1
- "The Making of Oil: Birth of a Reservoir". Schlumberger Excellence in Educational Development. Archived from the original on November 20, 2005. Retrieved January 30, 2006.
- "What is a Reservoir?". Schlumberger Excellence in Educational Development. Archived from the original on April 27, 2006. Retrieved January 30, 2006.
- "Rise and Fall of the North Sea". Schlumberger Excellence in Educational Development. Archived from the original on November 22, 2005. Retrieved January 30, 2006.
- "What is a Reservoir? - What are some characteristics?". Schlumberger Excellence in Educational Development. Archived from the original on August 16, 2011. Retrieved January 30, 2006.
- Zongli, Liu; Zhuwen, Wang; Dapeng, Zhou; Shuqin, Zhao; Min, Xiang (2017-05-31). "Pore Distribution Characteristics of the Igneous Reservoirs in the Eastern Sag of the Liaohe Depression". Open Geosciences. 9 (1): 161–173. Bibcode: 2017OGeo....9...14Z. doi: 10.1515/geo-2017-0014. ISSN 2391-5447.
- Gluyas, J; Swarbrick, R (2004). Petroleum Geoscience. Blackwell Publishing. ISBN 978-0-632-03767-4.
- Basin Analysis: Principles and Applications. Allen, P.A. & Allen, J.R. (2005). Second Edition. Publ. Blackwell Publishing
- "Structural traps". Archived from the original on 2015-02-14. Retrieved 2012-02-02.
- Schlumberger - Search Results
- "The Oil Trap". Archived from the original on 2013-01-23. Retrieved 2012-02-02.
- Gluyas, J; Swarbrick, R (2004). Petroleum Geoscience. Blackwell Publishing. p. 148. ISBN 978-0-632-03767-4.
- Watts, N.L., 1987, Theoretical aspects of cap-rock and fault seals for single- and two-phase hydrocarbon columns, Marine and Petroleum Geology, 4, 274-307.
- Peter J. Ortoleva (1994). "Basin compartments and seals". AAPG Memoir. AAPG. 61: 34. ISBN 9780891813408. Retrieved 15 March 2012.
- JIA, Chengzao (2017). "Breakthrough and significance of unconventional oil and gas to classical petroleum geology theory". Petroleum Exploration and Development. 44 (1): 1–10. doi: 10.1016/s1876-3804(17)30002-2. ISSN 1876-3804.
- "Oil". 2016-04-05. Archived from the original on 2016-04-05. Retrieved 2021-11-02.
- Babadagli, Tayfun (2007). "Development of mature oil fields — A review". Journal of Petroleum Science and Engineering. 57 (3–4): 221–246. doi: 10.1016/j.petrol.2006.10.006.
- Lawal, Kazeem A.; Yadua, Asekhame U.; Ovuru, Mathilda I.; Okoh, Oluchukwu M.; Eyitayo, Stella I.; Matemilola, Saka; Olamigoke, Olugbenga (2020-03-01). "Rapid screening of oil-rim reservoirs for development and management". Journal of Petroleum Exploration and Production Technology. 10 (3): 1155–1168. doi: 10.1007/s13202-019-00810-6. ISSN 2190-0566.
- Alvarado, Vladimir; Manrique, Eduardo (2010-08-27). "Enhanced Oil Recovery: An Update Review". Energies. 3 (9): 1529–1575. doi: 10.3390/en3091529. ISSN 1996-1073.
- Waterdrive at Schlumberger Oilfield Glossary