Crude oil is heated to vapour
Vapour rises up fractionating column
Fractionating collum is hotter at bottom cooler at top
The fractions condense at their boiling point
Longer chain alkanes at bottom
Shorter chains rise to top
Shorter chains have lower boiling points