Thermo Dynamics of Clouds