A boiler is a heating system that uses water or steam to generate heat, while a furnace uses air. Boilers are commonly used for heating homes and buildings, while furnaces are typically used for forced-air heating.