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