As a
literary device, an
allegory in its most general sense is an extended
metaphor.
Allegory has been used widely throughout history in all forms of
art, largely because it can readily illustrate complex ideas and concepts in ways that are comprehensible or striking to its viewers, readers, or listeners.