What is the foil in a narrative?

A. the main character of a story, novel, or other fictional text.
B. a character who brings another character's qualities into sharp focus.
C. a narrator who is also a character in a fictional text.
D. an outside narrator who is all seeing and all knowing.

B. a character who brings another character's qualities into sharp focus.