Answer:
Allegory.
Explanation:
An allegory is a literary device that is used to reveal a hidden meaning through the use of symbols and characters as representing ideas or themes. It allows an author to address life morals, personal elements, or even political or religious themes.
The characters and symbols in the story are used to represent the themes that the author wants to bring or relay to the readers. Therefore, an allegory is a fictional work of literature that uses events, symbols, and characters to represent a somewhat point by point fashion, a different metaphysical, social, religious, or even political situations.
Some examples of allegorical works are "The Pilgrim's Progress" by John Bunyan, "The Chronicles of Narnia" by C. S. Lewis.