The outer walls of the cooler get sprinkled by water constantly. This water evaporates due to hot dry weather. Evaporation causes cooling of inside air of cooler. This cool air is sent in the room by the fan.