This process flow diagram represents the working of an air conditioner, that works for cooling as well as heating. This is an ideal cycle that is based on the refrigeration cycle. This refrigeration cycle can be reversed using a three-way valve which can change its working from heating to cooling. The evaporator is responsible for absorbing the heat from the environment and the condenser is responsible for rejecting the heat to the environment. The compressor is used to increase the pressure of the refrigerant and the throttling devices reduce the pressure of the refrigerant. The pressure and temperature constraints set by the engineers at each point of the cycle are responsible for the efficiency of the unit.