You are the captain of a ship and lost in ocean. You have finished all the drinking water storage. So ironically there is water everywhere but not any drop to drink. So how will you obtain fresh water to drink?
Heating salt water and then condensing steam will give fresh water.
Salt gets dissolved in water, so filtering it will not purify water. But salt doesn't evaporate on heating so heating salt water and thus condensing steam will give fresh water.