Which word does the underlined clause modify?

My grandfather wears a baseball cap whenever he leaves the house.

A.wears
B.baseball
C.grandfather
D.cap

Q&A Platform for Education
Platform Explore for Education