where and how is the densest water in the oceans found

Near the poles as sea ice forms
Near the equator due to heavy rain.
Near the equator where rain is scarce