Ocean thermal energy conversion (OTEC) is a way of getting useful energy from the world's oceans. The sun shines on the oceans of the world and in the hot parts near]] the water at the sea's surface can be quite warm, sometimes as high as 30°C.