prosopopeia

noun
  1. A literary device in which an inanimate object, animal, or abstract idea is given human qualities or is represented as speaking.
  2. Usage: Also spelled prosopopoeia; A form of personification; Common in poetry and rhetoric

Examples