In the phrase "the wind whispered through the dark and gloomy forest", the wind is being personified. Personification is a figure of speech that gives human qualities to an animal, object, or idea. In this case, the wind is given the ability to whisper, which is a human action. This personification helps to create a more vivid and imaginative description of the forest.