Air conditioning involves removing heat from indoor air through a refrigeration cycle that uses an evaporator, condenser, expansion valve, and compressor. Refrigeration is the process of removing heat from a substance to lower its temperature. Both air conditioning and refrigeration use the same basic refrigeration cycle that turns a refrigerant between gas and liquid states to transfer heat outside of an enclosed space.