foil
Noun
B2 – Upper-Intermediate
A character or thing that highlights the qualities of another by contrast, or a thin sheet of metal.
"Foil" in this literary sense has nothing to do with kitchen foil; the two meanings are unrelated.