Samādhi (Pali and Sanskrit: समाधि), in the Indian religions, is a state of meditative consciousness. In many such traditions, the cultivation of samādhi through various meditation methods is essential for the attainment of spiritual liberation (known variously as nirvana, moksha).
In Buddhism, it is the last of the eight elements of the Noble Eightfold Path. In the Ashtanga Yoga tradition, it is the eighth and final limb identified in the Yoga Sutras of Patanjali. In Jain meditation, samadhi is considered one of the last stages of the practice just prior to liberation.