A method of employing the thermal energy from essentially limitless sources, such as the ocean or the atmosphere, to produce mechanical work or electricity by power plants wherein; the fluid from the limitless heat source is used to heat the working fluid of a prime mover through a heat exchanger; the effluent cooled fluid from the said heat exchanger may be employed directly or indirectly to extract the exhaust heat of the prime mover; and the said effluent cooled fluid from the said heat exchanger may also be used simultaneously or successively for the conversion of saline water into fresh water, or dirty water into usable water.