Auger Lucas (French Rococo Era painter, 1685-1765) | An Allegory of Poetry
As a literary device, an allegory is a metaphor in which a character, place or event is used to deliver a broader message about real-world issues and occurrences.
Allegory (in the sense of the practice and use of allegorical devices and works) has occurred widely throughout history in all forms of art, largely because it can readily illustrate or convey complex ideas and concepts in ways that are comprehensible or striking to its viewers, readers, or listeners.
Writers or speakers typically use allegories as literary devices or as rhetorical devices that convey (semi-)hidden or complex meanings through symbolic figures, actions, imagery, or events, which together create the moral, spiritual, or political meaning the author wishes to convey.
Many allegories use personifications of abstract concepts.