The dog chased the cat , which ran up a tree. *It* waited at the bottom.

Are "It" and "the cat" the same thing in the aforementioned sentence (choose from options)?

Choose from:
a). no;
b). yes;
a).