To address the interrelated crises of the energy and the environment, solar energy should be used for wastewater treatment. This review summarizes the various techniques of using solar energy for getting usable water from sea water and wastewater. A part of the contents of this paper was presented in a lecture delivered at a programme of FOSET on June 21, 2013