In Gnosticism, a serpent biting its tail symbolised eternity and the soul of the world. The Gnostic Pistis Sophia describes the ouroboros as a twelve-part dragon surrounding the world with its tail in its mouth.