Boilers are a closed vessel in which water is heated. The heated or vaporized fluid exits the boiler for use…