Chimney flashing is a metal barrier installed where the chimney meets the roof. It prevents water from seeping into your home, protecting both the chimney and roofing materials.