The water evaporates, leaving behind the salt, and the water vapor is then collected and condensed, leaving you with liquid ...