Phrase: I stuck a pin through a carrot. When I pulled the pin out, it left a hole.

Question: What does "it" in "it left a hole" refer to in the phrase?
Option A: The pin; Option B: The carrot
Answer: a