What is a boiler and how does it work?