Flashings are used for water proofing. Usually installed in transition areas, flashings are used to direct water away from a particular area, and towards another.
Gutter Flashings (a.k.a. gutter apron) are installed underneath the the roofing and into the gutter. Gutter apron keeps the water from running behind the gutter.