heat oil with long carbon chains in fractional column to 300C
\
unboiled liquid (heaviest fraction) piped off as residues
\
vapor rises through the fractionating column, where there is a temperature gradient with the coolest part at the top.
\
When a hydrocarbon compound reaches a part of the column that is cooler than its boiling point, it will condense, be collected, and piped off.
\
vapours which don’t condense are piped off at the top as refinery gases. This is the lightest fraction.