Choose the analogy below with the same relationship.
A hammer is to a carpenter as:
A. a play is to a ball
B. a pen is to writer
C. a rest is to a head
D. a subject is to a student