When the scriptures or shAstras talk about deep philosophical principles which have themselves a divine character, they present certain descriptions allegorically. We should not misunderstand these allegories. In fact the word ‘allegory’ itself is not the right word here. When esoteric principles are deliberately personified, that is ‘allegory’. The profound ideas of the purANas or the shAstras are not just mental creations of the author. It is parAShakti Herself who opens out those principles in those forms to great rishis or persons who have reached the siddhi in the mantras.
If this world is taken to be real, then more real are the principles and stories that help us throw off our shackles and reach our True State.