In Shakespeare's Macbeth, in Act IV, scene one, there are a number of literary devices used, including alliteration, repetition, etc. There is also personification used.
Who can impress the forest, bid the tree
Unfix his earth-bound root? Sweet bodements, good!
Rebellion's head, rise never... (107-109)
Personification is a device used when human characteristics are given to non-human things; it's a form of imagery, and not to be taken literally.
First, "impress" means "compel" or "force to do something." In terms of personification, a forest cannot be compelled. A tree cannot be "bid" (or "requested") to pull up its roots—or express a will to pull them up. "Rebellion" is given a "head," which is also not possible, and therefore, it could never rise. The use of personification generally provides imagery that has more impact on the reader. The image created in one's mind is often more memorable. In this instance, Shakespeare may also have used it in order to show Macbeth's personal sense of power, even over nature, feeling invincible because of the witches' predictions.