When the water receives energy from the sun, the water on the surface will have an increased temperature and may evaporate and float up to form clouds. This seems like common sense but where did the water gained the gravitational potential energy? The increased temperature the water has must be dissipated back into the atmosphere to match the ambient temperature in the exact ratio of 1:1, since heat cannot be converted into gravitational PE (Or can it?). So why doesn't this violate the conservation of energy? Please enlighten me on how this works. Thanks.