There is a transfer of heat from the room air to the refrigerator through its walls
There is also a transfer of heat from the hot portions of the refrigerator system to the room air
electrical work is being added to the refrigerator through the refrigeration system