As shown in the given figure, the clothes get dried because:
The Sun dries up the water from the cloth
The clothes dry up because the Sun increases the temperature all the water evaporates from the cloth. The process that takes place here is evaporation of water from the surface of clothes.