Distillation is a widely used method for separating the component substances from a liquid mixture by selective evaporation and condensation. To separate a mixture of liquids, the liquid can be heated to force components, which have different boiling points, into the gaseous state.
Ex: the mixture of acetone and water is separated using distillation. These liquids have different boiling points. So, they form vapours at different temperatures and then these vapours can be condensed separately to obtain pure liquids.