What is the function of a condenser in a distillation column?

Explanation:

In a distillation column, the condenser cools the vapor to separate the distillate from the condensed liquid, allowing for the separation of components based on boiling points.