How does a refigerator work?

it has an evaporator in the fridge and it cools down the gasses and turns them into a liquid which is subzero and the the liquids cool down your food.