The vapor compression cycle is the mostly widely used method of refrigeration in the modern applications. Your household refrigerator, water cooler, deep freezer, air-conditioner etc, all run on vapor compression cycle. The cycle is called as vapor compression cycle, because the vapors of refrigerant are compressed in the compressor of the refrigerator system to develop the cooling effect.
Here are the various processes of vapor compression cycle (refer the figure give below):
1) Compression: The vapors of refrigerant enter the compressor and get compressed to high pressure and high temperature. During this process the entropy of the refrigerant ideally remains constant and it leaves in superheated state.
2) Condensation: The superheated refrigerant then enters the condenser where it is cooled either by air or water due to which its temperature reduces, but pressure remains constant and it gets converted into liquid state.
3) Expansion: The liquid refrigerant then enters the expansion valve or throttling valve where sudden expansion of the refrigerant occurs, due to which its temperature and pressure falls down. The refrigerant leaves expansion valve in partially liquid state and partially in gaseous state.
4) Evaporation or cooling: The partially liquid and partially gaseous refrigerant at very low temperature enters the evaporator where the substance to be cooled is kept. It is here where the refrigeration effect is produced. The refrigerant absorbs the heat from the substance to be cooled and gets converted into vapor state.
This low pressure refrigerant is then absorbed by the compressor where it is compressed again and the whole cycle of refrigeration repeats again. The vapor compression cyclic process is used for refrigeration in domestic as well as commercial applications.
Image source: Wikipedia

click to enlarge