All engines produce heat, especially naval ones.
The exhaust line must be cooled in marine applications to contain the heat transmitted to the hull and other vessel parts. This purpose is achieved by exploiting seawater, used as a thermal vector.
Read more