Furnaces accomplish this by burning fuel internally to warm air, water or steam, then directing this warmth into various parts of a building to maintain a comfortable indoor temperature.