Here's why:
* Combustion: The engine's primary function is to burn fuel, which is a chemical reaction that releases heat.
* Friction: Moving parts within the engine, like pistons and valves, create friction, which generates heat.
* Heat transfer: The heat from combustion and friction is transferred to the engine's components, like the engine block, cylinder head, and other parts.
To prevent overheating, cars have a cooling system that circulates coolant through the engine to absorb the heat. The coolant then flows to the radiator, where it releases the heat into the air.