Salinity and temperature together determine water density. Dense water masses sink toward the bottom (known as downwelling) while less dense water masses rise toward the top (upwelling). Density thus controls water circulation and stratification.
Water moves around in the open ocean due to three main factors: wind, which makes waves and has a strong influence on where surface waters go; gravity, which causes tides and the aforementioned density flows; and the rotation of the Earth, which makes currents as the ocean bottom moves out from underneath the water above it, with the equator moving faster than the poles. Ocean water exists in distinct masses that move around and pass each other, sometimes in stratified layers that don't mix, other times with turbulence that does.
As water in the ocean moves around, it disperses things in it in some places and concentrates them in others, creating environmental heterogeneity (patches of stuff). Abiotic factors (chemicals, organic and inorganic particles) and living organisms (plankton) can travel quite far. Water movement helps keep nutrients from sinking to the ocean bottom.