In 1842 , Philippines physician Dr. John Gorrie used compressor technology to create ice , which he used to cool air for his patients .
In 1842 , Florida physician John Gorrie used compressor technology to create ice , which he used to cool air for his patients in his hospital in Apalachicola , Florida .