Original: A refrigerator works in much the same way, as it pumps the heat out of the interior and into the room in which it stands.
Simplified: A refrigerator works in much the same way, as it pumps the heat out of the interior into the room in which it stands.