The engine coolant flows through the tubes while the cooling medium, often water or air, circulates around the outside of the tubes within the shell. This configuration allows for efficient heat transfer, as the hot coolant from the engine releases its heat to the cooling medium, which then dissipates it away from the system. The design of shell and tube heat exchangers ensures high durability and effective thermal performance, making them ideal for maintaining optimal engine temperatures and preventing overheating.