In a steam engine, the firebox is the area where the fuel is burned, producing heat to boil the water in the boiler. Most are somewhat box-shaped, hence the name. The hot gases generated in the firebox are pulled through a rack of tubes running through the boiler.[1][2]