Currents may also be generated by density differences in water masses caused by temperature and salinity variations. These currents move water masses through the deep ocean—taking nutrients, oxygen, and heat with them. ... Both move masses of water inland when they reach shallow water and coastlines.