Roof flashing is a material installed at joints and transitions to prevent water from entering the building.
Most leaks happen at transitions, not open roof areas. Flashing is your first line of defense.
Roof details
Sections
Waterproofing details