Well the ocean becomes hot and water molecules start to evaporate leaving only the salt molecules
Hope this helps and have a great day!