Rooftop flashing is a thin material, usually made from metal, that is installed at various points on a roof to direct water away from critical areas. This includes places where the roof meets walls, chimneys, skylights, and vents. The primary purpose of flashing is to seal joints and prevent water from infiltrating the underlying structure.