In 1842, American physician Dr. John Gorrie used compressor technology to create ice, which he used to cool air for his patients. He hoped eventually to use his ice-making machine to regulate the temperature of buildings and even considered cooling entire cities with a system of centralized air conditioning units.