Allegory is a literary device in which characters, events, or settings represent abstract ideas or moral qualities. It is a story within a story that conveys deeper meanings.
The use of symbols to represent ideas or qualities.
Parable: A short story that teaches a moral lesson.
Fable: A brief tale with talking animals or objects that imparts a moral lesson.