Expand OTEC. On what principle is it based?

The full form of OTEC is Ocean Thermal Energy Conversion.
It is based on the temperature gradient between upper and lower layers of the ocean.