Input (grade 10): 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.
Output (grade 9): A refrigerator works in much the same way, as it pumps the heat out of the interior into the room in which it stands.