This text provides a fundamental approach to the science and practice of thermal analysis of the solar desalination unit, working with Humidification-Dehumidification process. It includes previous studies in the solar desalination and comparison between two techniques of solar collectors that could be used for heating in the suggested unit, which are flat plate collectors and solar troughs. In both cases the exergy analysis is carried to predict the performance of the desalination unit.