Boilers generate steam and have been used since the era of steamships, and are used to date. They utilise the heat index generated from engines and machinery onboard to produce steam vapour by boiling water at very high temperatures and pressures, and this steam is used for various utilities on the vessel that use heating systems.
For tanker vessels carrying various forms of heavy fuel and bunker fuels, complex heating systems supply constant heat to the cargo so that they remain at the desired...
https://www.marineinsight.com/tech/working-of-marine-boilers-explained/