The given sentence: "The wind whispered through the trees."
This sentence is an example of personification.
In personification, human qualities are attributed to non-human entities or inanimate objects. Here, the action of "whispering" is a human ability, which is being attributed to "the wind." This gives the wind a human-like characteristic, making the sentence more vivid and expressive.
Let's break down why it is not the other options:
Therefore, the correct figure of speech is personification.