A character whose actions or qualities serve to heighten those of the hero through contrast is
an adversary
a protagonist
an antagonist
a foil
The correct answer is: D
Explanation
In fiction, a foil is a character who contrasts with another character (usually the protagonist) in order to highlight particular qualities of the other character