A wood or pellet stove is freestanding, burns solid fuel, and can vent out the top or the back. A top-vented stove is generally installed with either its own Class A chimney or into a masonry/Class A thimble, while a rear-vented stove is often installed in front of an existing open fireplace and connected to a metal flue liner.