My best guess, considering it goes up through your living space or attic, would be a triple wall insulated "Class A" chimney system. Probably a selkirk or a duravent. If that piece is that far damaged i would have a certified sweep scope/inspect the entire system.