what is a flashing
Flashing is layered protection. So what is flashing? It's a thin layer of waterproof material that keeps water from getting into places it doesn't belong. (Caulk is fine for filling small gaps around windows and doors, but it shouldn't be confused with flashing.)