When air in contact with the ocean is at a different temperature than the sea surface, heat transfer by conduction takes place. The ocean also absorbs and stores energy from the sun, and when precipitation falls, it releases heat energy into the atmosphere.