Chimneys are designed to remove carbon dioxide as well as other gas byproducts in the air by letting them out. They are commonly come with fireplaces but they are used for anything that burns wood, gas, oil, or coal.