A fireplace is an architectural structure designed to contain a fire. Fireplaces are used at the present time mostly for the relaxing ambiance they create. Historically they were used for the practical purposes of heating, cooking, and heating water for laundry and domestic uses. A fire is contained in a firebox or firepit. A chimney or other flue allows exhaust to escape. A fireplace may have: a foundation, a hearth, a firebox, a mantelpiece, a chimney crane, used in kitchen and laundry fireplaces.