Hello, the answer is D, metaphor.
For example, "She is a diamond"
Onomatopoeia is an imitation of a sound.
For example, "Pow!" or "Boom!"
Personification is giving nonhuman objects human attributes.
For example, "The branches of the tree danced in the wind"
A simile is a comparison using like or as.
For example, "She is as valuable as a diamond"
Hope this helped. Have a nice day. :)