Here is how a refrigeration system works

From the cold part (left) the compressor sucks gaseous refrigerant and compresses it. The compressed gaseous refrigerant then flows to the condenser (the black grid behind your fridge). In the condenser the refrigerant becomes liquid and flows via an orifice into the evaporator. The orifice reduces the pressure and after passing, the refrigerant starts boiling.