Allegory

[al-uh-gawr-ee] (noun)

A story, poem, or picture that can be interpreted to reveal a hidden meaning, typically a moral or political one.

In 'Animal Farm,' George Orwell uses allegory to depict the rise of totalitarianism.