Is symbolism considered as a figurative language or a sound element?

symbolism is considered to be figurative language.

onomatopoeia is a sound element that is a subheading of figurative language.