This works because the liquid in the mixture have different boiling points.when the mixture is heated the mixture boils,hot vapour rises up the fractionating column,vapour condenses when it hits the cool surface of the column and drips back,fraction with lowest boiling point reaches the top of the column first,its vapour passes into condensor