Answer:
From the diagram, the water is being boiled. This process vaporises the water in the vessel leaving salt crystals behind.
Since the water is needed in liquid form, the cold water at the top of the set-up
condenses the vapor so it can be used.