In Buddhist philosophy, there are three stages of prajna that an individual goes through. The first stage is studying and listening to dharma, which results in understanding. The second stage consists of contemplating that knowledge and understanding received in the first stage, which results in full ingestion of the truth. The third stage of prajna is when an individual comes to complete awareness and realization of the Truth, which results in a state of resting meditation and enlightenment, where one is continuously mindful of the Truth.
In Patanjali's Yoga Sutras, he writes that prajna is a state of perfection that a master yogi can reach after moving into samadhi (a state of meditative consciousness), which is the eighth and final limb of yoga.