20.10Example
Key C.
Melody note is:
F
Phrase feels tense and wants to resolve to C.
Candidate chords containing F:
Dm
F
B°
But dominant function suggests:
G7, which also contains F.
So the melody note may be the 7th of G7.
This is why you must combine melody with harmonic function, not just triad membership.