To further elaborate on Snowman's post, here is a basic explanation on a standard refrigeration cycle:
A refrigerant (such as R-134a), also known as the working fluid, is pumped in a closed system. Starting at the compressor, the fluid goes from a vapor phase to a liquid phase due to greatly...