Which word in the following sentence is the antecedent of a pronoun?
Ginger wanted to buy grapes, but the grocery store was out of them.


A. grapes
B. them
C. Ginger
D. store