You searched for: “ocean thermal energy conversion
ocean thermal energy conversion (OTEC)
Any of various techniques for extracting energy from the vertical temperature difference in the oceans.

In principle, ocean thermal energy conversion can be used to generate electricity, desalinate water, support deep-water mariculture, and provide refrigeration and air-conditioning.