A fire-tube boiler is a type of boiler in which hot gases pass from a fire through many tubes. These run through a sealed container of water. The heat of the gases passes through the walls of the tubes, and this heats the water and creates steam.
Diagram of a fire-tube boiler
Most steam locomotives have fire-tube boilers.