The swans in the story of the Children of Lir represent the children's transformation and their journey towards freedom and redemption. The swans are also a symbol of purity, grace, and beauty, and they play an important role in the story's magical and mystical elements.