In the process of distillation,
A liquid is converted into its vapour and the vapour is then condensed back to liquid on cooling.
The condenser has a jacket with two outlets through which water is circulated.
Hence,
To provide efficient cooling, a condenser is used.