In simple words, a refrigerator's primary function is heat absorption and heat rejection. In the following refrigerator cycle diagram, the four fundamental elements are the compressor, the condenser, the expansion device, and the evaporator. As illustrated in the refrigeration cycle diagram here, compression is the first step in the refrigeration cycle, and a compressor is the piece of equipment that increases the pressure of the working gas. The condenser is one of two heat exchangers used in a basic refrigeration loop. The expansion device creates a drop in pressure after the refrigerant leaves the condenser. The evaporator in the second heat exchanger is a standard refrigeration circuit, and like the condenser, it is named for its basic function.