Density differences in water masses related to differences in temperature and salinity drive ocean current patterns.