As water is an excellent solvent, you can dissolve all sorts of ions into the water. This is why, over billions of years, the oceans have become salty. The principal elements in solution include sodium and chlorine, as well as calcium and magnesium.