Answer:
Ocean water is more dense because of the salt in it. ... Temperature has a greater effect on the density of water than salinity does. So a layer of water with higher salinity can actual float on top of water with lower salinity if the layer with higher salinity is quite a bit warmer than the lower salinity layer.