In
Mahayana sutras, illusion is an important theme of the
Prajñāpāramitā sutras. Here, the magician's illusion exemplifies how people misunderstand and misperceive reality, which is in fact empty of any essence and cannot be grasped. The Mahayana uses similar metaphors for illusion: magic, a dream, a bubble, a rainbow, lightning, the moon reflected in water, a mirage, and a city of celestial musicians."
[87] Understanding that what we experience is less substantial than we believe is intended to serve the purpose of liberation from ignorance, fear, and clinging and the attainment of enlightenment as a Buddha completely dedicated to the welfare of all beings. The Prajñaparamita texts also state that all dharmas (phenomena) are like an illusion, not just the
five aggregates, but all beings, including
Bodhisattvas and even
Nirvana.
[84] The Prajñaparamita-ratnaguna-samcayagatha (Rgs) states: