A chimney is a pipe through which smoke goes up into the air, usually through the roof of a building.