Fuel is burned within the furnace to produce hot gas which, when combined with water in the tubes in order to produce steam, is able to heat the water inside the tubes in order to produce heat.
Due to the thermal conduction of the gases through the walls of the tubes, the heat of the gases is transmitted through the water, which in turn heats up the water and eventually produces steam as a result of the process.