An oil refinery is a complex industrial facility designed to process crude petroleum through a series of physical and chemical processes. The primary function is to separate and convert crude oil—a mixture of various hydrocarbons—into usable, specialized products. This process begins with fractional distillation, where crude oil is heated and passed through columns of varying temperatures, causing different components, such as gases, gasoline, kerosene, and heavy fuel oils, to vaporize and condense at different levels. Further refining stages, such as cracking and reforming, are employed to break down larger, less valuable hydrocarbon molecules into smaller, more useful components, thereby maximizing the yield of high-demand fuels like diesel and jet fuel.