A crude oil refinery is a group of industrial facilities that turns crude oil and other inputs into finished petroleum products. A refinery’s capacity refers to the maximum amount of crude oil designed to flow into the distillation unit of a refinery, also known as the crude unit.