Click Query, Key or Value to see the three roles attention gives each word: what it looks for, what it offers to match, and what it passes on.
Attention gives every position three roles. Splitting them apart is what makes the mechanism general.