Oil refining is the name for a number of processes from chemical engineering, which transform crude oil into useful products such as different fuel oils, Liquefied petroleum gas, gasoline, kerosene or diesel oil. These transformation occur in plants called petroleum refineries. The transformations are done in many steps. The refineries are large industrial complexes, that have many different sub-units, and facilities. Each refinery has its own unique arrangement and combination of refining processes. The exact setup of the refinery is largely determined by the its location, desired products and economic considerations.
Modern petroleum refineries process as much as 800,000 to 900,000 barrels (127,000 to 143,000 cubic meters) per day of crude oil.