The petroleum industry is usually divided into three major components: upstream, midstream and downstream. The midstream sector involves the transportation (by pipeline, rail, barge, or truck), storage, and wholesale marketing of crude or refined petroleum products. Pipelines and other transport systems can be used to move crude oil from production sites to refineries and deliver the various refined products to downstream distributors. Natural gas pipeline networks aggregate gas from natural gas purification plants and deliver it to downstream customers, such as local utilities.
The midstream operations are often taken to include some elements of the upstream and downstream sectors. For example, the midstream sector may include natural gas processing plants which purify the raw natural gas as well as removing and producing elemental sulfur and natural gas liquids (NGL) as finished end-products.
Service providers involved in the midstream sector