How are symbolism and allegory related?

Allegory is a type of symbolism