Sea water contains several salts mixed in it. One of them is common salt. When ocean water is allowed to stand in shallow pits, water gets evaporated by sunlight and slowly turns into water vapor. In an exceedingly few days, the water evaporates fully abandoning the solid salts. Common salt is then obtained from this mixture of salts by more purification.
Final Answer:
There are various methods used for getting salt from sea water. One can be by heating the solution resulting in evaporation of water. Another could be by forcefully removing water through a filter. As a result, salt is left behind.