Refrigerators are heat pumps; they transfer heat from a colder region (inside the fridge) to a warmer region (the room).