Flashing prevents water from leaking into your home at intersections and joints like around chimneys and vents.