The boiler actually serves as a furnace where air is mixed with fuel (typically oil or coal) in a controlled combustion process, thus releasing big quantities of heat. As a result, the water is heated, thereby producing steam
More:
Boilers | Enggcyclopedia