A factory built fireplace (can be wood or gas) is constructed of metal, and is designed to go into framing, with its own dedicated metal chimney. Sometimes they are called “zero clearance” fireplaces but this is something of a misnomer, as no fireplace is truly zero clearance.