use the analogy to answer the question.

Hat : Cowboy :: Mask : Docter

A) a cowboy and a doctor both like to wear things
B) hats and masks are alike because they are synonyms
C) cowboys and doctors are alike because they both do things
D) a cowboy typically wears a hat just like a doctor wears a mask

D) a cowboy typically wears a hat just like a doctor wears a mask