Answer: allegory
An allegory is a metaphor in which a character or event is used to deliver a broader message about society or the world. Allegories have been common in literature throughout history, and they are a useful way to convey complex ideas in compelling and comprehensible terms. In this case, "The Swan" is an allegory that tries to represent the struggles that humans must endure on Earth.