As the seventh limb of Patanjali's Eight Limbs of Yoga, dhyana builds upon the practices of asana (physical posture), pranayama (breath control), pratyahara (control of the senses, moving the focus inward) and dharana (concentration). When practiced together with dharana and the eighth limb of samadhi (absorption), the three together form samyama, resulting in a full detachment of the mind from worldly bindings and a deeper understanding of the object of meditation. At the final stage, or jhana, of dhyana, the yogi does not see it as a meditation practice anymore as they are so fully immersed in the meditative act that they can no longer separate the self from it.
The term, dhyana, appears in the Bhagavad Gita, an ancient Hindu scripture that outlines the four branches of yoga: Karma yoga, Bhakti yoga, Jnana yoga and Dhyana yoga. In the text, Dhyana yoga is described by Lord Krishna as being the yoga of meditation.