The part of the fireplace that holds the fire is called a firebox or a firepit . There is a chimney or flue above the firebox that lets the smoke from the fire go outside . A fire is contained in a firebox or firepit ; a chimney or other flue directs gas and particulate exhaust to escape .