A thin, typically steel material is used to divert water away from critical areas where the roof meets vertical surfaces like walls or chimneys. It's installed around features such as vents, skylights, and chimneys to prevent leaks and ensure the roof's integrity.