Larger systems can use cooling towers which leverage evaporative cooling. Also, arid climates can use swamp coolers to cool a space. They work on the same principal. When water evaporates, it pulls energy from the surrounding medium, causing the temperature to drop.