Through this process, wisdom clarifies the way that the mind manufacturers emotion and karma, and finally penetrates the illusion of self. Just as though one were investigating how a magician created his display of illusions, one studies mental events to understand the conditions and causes that support the operation of ordinary self-oriented experience. One first understands the root emotions as the basis for samsara, then studies the workings of the associated emotions and how each one manifests a distinctive character. Gradually, the manner in which the self supports emotion and emotion supports the sense of self becomes clear. Self and emotion are seen as relying on and reinforcing each other's existence. Understanding how this collusion gives rise to the whole range of samsaric delusion liberates the mind from all forms of deception.