Wood stoves are usually paired with another heat source. They burn wood in a chamber called a firebox. The firebox has a door with a gasket that makes it airtight. An air intake and dampers let you adjust airflow through the firebox.
Get a professional stove and chimney inspection at least once a year, before the heating season starts. To limit dangerous creosote buildup, burn dried (seasoned) wood. Well-dried wood burns hotter and cleaner, which helps prevent creosote.