Evaporation is an endothermic process, it uses surrounding heat and so has acooling effect. Any surface that has an evaporating liquid on it is cooler than its surroundings. In an air conditioner gases are liquefied so they'll evaporate very fast at room temperature, making the place become cooler this is known as cooling effect