What is the purpose of a metaphor in a written work?

A.
It gives human qualities to nonhuman things to create drama.

B.
It reuses words or phrases to emphasize a point.

C.
It repeats similar structures to keep the reader on track.

D.
It equates one thing with another to clarify an idea.

D. It equates one thing with another to clarify an idea.