An allegory is a term for a figure of speech. It is a story or picture with a hidden meaning. The characters in allegories are symbols which represent particular ideas. The story has a figurative meaning, not just a literal one.