An oil refinery is an industrial plant that transforms, or refines crude oil into various usable petroleum products such as diesel, gasoline, and heating oils like kerosene. Oil refineries essentially serve as the second stage in the crude oil production process following the actual extraction of crude oil up-stream, and refinery services are considered to be a down-stream segment of the oil and gas industry.