Crude oil is a complex mixture of hydrocarbons, and refining is the process of separating these components based on their boiling points. This is typically done through a refining unit called a distillation column, where the crude oil is heated, and different fractions are collected at different temperatures.