Flashing creates a watertight seal around roof penetrations and transitions, preventing leaks and protecting the underlying structure. Installing it incorrectly allows water to seep under your shingles and cause serious problems such as water damage, mold, and weakened structural integrity. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.