Natural gas before the natural gas can be transported. Natural gas extracted from oil wells is called casinghead gas (whether or not truly produced up the annulus and through a casinghead outlet) or associated gas. The natural gas industry is extracting an increasing quantity of gas from challenging resource types: sour gas, tight gas, shale gas, and coalbed methane. There is some disagreement on which country has the largest proven gas reserves. Sources that consider that Russia has by far the largest proven reserves include the US CIA (47 600 km³), the US Energy Information Administration (47 800 km³), and OPEC (48
Natural gas and shallow sediments. Deeper in the earth, at greater temperature and pressure, thermogenic gas is created from buried organic material. In petroleum production gas is often burnt as flare gas. The World Bank estimates that over 150 cubic kilometers of natural gas are flared or vented annually. Before natural gas can be used as a fuel, most, but not all, must be processed to remove impurities, including water, to meet the specifications of marketable natural gas. The by-products of this processing include: ethane, propane, butanes, pentanes, and higher molecular weight hydrocarbons, hydrogen sulfide (which may be converted into pure sulfur),