What is the part of speech of the underlined word in the sentence?

The dog wagged its tail, so Jeff took it for a walk.

A.
pronoun

B.
preposition

C.
conjunction

D.
verb

Q&A Platform for Education
Platform Explore for Education