First consider exactly what salt is. Because it consists of the elements sodium and chlorine, its chemical name is sodium chloride, which is ordinary table salt. Seawater consists of an average of about 2.5 percent sodium chloride and a total of 1 percent of the other elements. The encyclopedia says that seawater is salty because rain water wears away rocks on land and dissolves minerals containing sodium and chlorine in the rocks and soil.
Rivers carry the minerals to the sea.
Material released by volcanoes and undersea springs also contributes salt to the ocean. Evaporation increases the ocean's salinity by removing fresh water from the ocean's surface, leaving the salts. Precipitation lowers the ocean's salinity by adding fresh water. In addition to carrying salt to the ocean, rivers also carry fresh water, which lowers the salinity of seawater near river mouths. The oldest method of obtaining salt is by evaporating seawater.