The correct term is prosopopeia. It means giving properties be encouraged to something inanimate, also give qualities of intelligence or rational attitudes to an animal or to speak the dead.
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list