Crude oil is a mixture of many liquids the crude oil enters the bottom of a tall column where the mixture is heated the components of crude oil can be separated because of differences in which property
Hot crude oil enters to the bottom and as the column go up, the temperature gets lower. Therefore, all of the different liquids get boiled out/distilled.