Explain working of a desert cooler?

Evaporation of a liquid (usually water) cools it and the surroundings.