A liquid flows into the engine. Heat is moved from the engine to the liquid. The heat moves because of Newton's Law of Cooling. This law says that heat will move from something hot to something cooler.