What is the difference between reflexive and intensive pronouns?

Reflexive pronouns and intensive pronouns are identical in spelling and pronunciation: they’re the words ending in -self or -selves (e.g., “myself,” “themselves”). But they play different grammatical roles: