The main purpose of a refinery is to convert crude oil into useful products. Crude oil itself is not directly usable - refineries separate and process it into petrol, diesel, jet fuel, lubricants, plastics, chemicals, and other products through distillation and chemical processes.