Why Is the Ocean Salty?

All the salt around the world’s oceans would cover the United States to a height of around 17.5 feet or 5.33 meters. But, why are oceans salty in the first place?

Why is the ocean salty?