Boilers produce steam using heat from the combustion of fuel. There are various types of boilers classified based on their orientation, heating method, circulation type, pressure, portability, and number of tubes. Fire tube boilers have hot gases passing through tubes surrounded by water, while water tube boilers have water passing through tubes surrounded by hot gases. Water tube boilers generally have higher steam pressure and production capacity compared to fire tube boilers. Common boiler types discussed in the document include fire tube boilers like Lancashire and locomotive boilers, and water tube boilers like Babcock & Wilcox. Boilers require safety devices like safety valves, water gauges, and pressure gauges.