Which word in the sentence does the underlined phrase modify?

In its beak, the robin carries a worm to its babies.



A.
carries


B.
beak


C.
worm


D.
robin