I stuck a pin through a carrot. When I pulled the pin out, *it* had a hole.

Are "the pin" and "it" the same entity?
no