Fractional distillation
Industrially, crude oil is heated and sent up along the fractionating column that has decreasing temperatures with height and several platforms at different levels to collect the condensate. Different components of crude oil have different boiling points. High molecular weight components have higher boiling points and condense at lower portions of the column while fractions with lower boiling points rise to the top of the column to condense.