ELI5: Why are oceans salty?

Well I'm even more hazy on the palaeobiology side of things, but that paper I linked to had the subtitle of "implications for the course of microbial evolution", and states that the ocean conditions effectively limited life to bacteria for the first few billion years. This would have to include photosynthetic cyanobacteria to account for all the stromatolites formed in the Archean (4 billion - 2.5 billion years ago), not to mention that they provide the explanation for atmospheric oxygenation.

Went down a small rabbit hole to find that cyanobacteria apparently have ways of dealing with high salinity environments, based around 1) actively expelling certain inorganic ions, and 2) accumulation of compatible solutes which serve to increase internal osmolality, ensuring water uptake and establishing turgor pressure. I don't understand how the mechanisms that do this function, (biology isn't my thing) but I have the references to the papers that talk about it if you're interested.

/r/explainlikeimfive Thread Parent