Willis Haviland Carrier developed the world's first modern air conditioner in 1902 as a New York engineer. Carrier's invention provided comfort for homes and allowed controlled conditions for industry and science. The main parts of an air conditioner are a compressor, expansion valve, hot coil, chilled coil, two fans, and a control unit. It works by compressing Freon gas to become hot, running it through coils to cool and condense into a liquid, then expanding it to become cold gas that absorbs heat through coils to cool indoor air. Air conditioners are commonly used in homes, offices, and industries.