The origins of yoga have been speculated to date back to pre-Vedic Indian traditions; it is mentioned in the Rigveda,[note 1] but most likely developed around the sixth and fifth centuries BCE,[8] in ancient India's ascetic and śramaṇa movements.[9][note 2] The chronology of earliest texts describing yoga-practices is unclear, varyingly credited to Upanishads.[10] The Yoga Sutras of Patanjali date from the first half of the 1st millennium CE,[11][12] but only gained prominence in the West in the 20th century.[13] Hatha yoga texts emerged around the 11th century with origins in tantra.[14][15]

According to Tattvarthasutra, 2nd century CE Jain text, yoga is the sum of all the activities of mind, speech and body.[6] Umasvati calls yoga the cause of "asrava" or karmic influx[171] as well as one of the essentials—samyak caritra—in the path to liberation.[171] In his Niyamasara, Acarya Kundakunda, describes yoga bhakti—devotion to the path to liberation—as the highest form of devotion.[172] Acarya Haribhadra and Acarya Hemacandra mention the five major vows of ascetics and 12 minor vows of laity under yoga. This has led certain Indologists like Prof. Robert J. Zydenbos to call Jainism, essentially, a system of yogic thinking that grew into a full-fledged religion.[173] The five yamas or the constraints of the Yoga Sutras of Patanjali bear a resemblance to the five major vows of Jainism, indicating a history of strong cross-fertilization between these traditions.[173][note 16]
Mental illness is described as 'the spectrum of cognitive, emotional, and behavioral conditions that interfere with social and emotional well-being and the lives and productivity of people. Having a mental illness can seriously impair, temporarily or permanently, the mental functioning of a person. Other terms include: 'mental health problem', 'illness', 'disorder', 'dysfunction'.[37]
These meditations were seen as being supported by the other elements of the eightfold path, such as the practice of ethics, right exertion, sense restraint and right view.[244] Two mental qualities are said to be indispensable for yogic practice in Buddhism, samatha (calm, stability) and vipassanā (insight, clear seeing).[245] Samatha is the quality of a stable, relaxed and calm mind. It is also associated with samadhi (mental unification, focus) and dhyana (a state of meditative absorption). Vipassanā meanwhile, is a kind of insight or penetrative understanding into the true nature of phenomena. It is also defined as "seeing things as they truly are" (yathābhūtaṃ darśanam). The true nature of things is defined and explained in different ways, but an important and unique feature of classical Buddhism is its understanding of all phenomena (dhammas) as being empty of a self (atman) or inherent essence, a doctrine termed Anatta ("not-self") and Śūnyatā (emptiness).[246][247] This is in sharp contrast with most other Indian traditions, whose goals are founded either on the idea of an individual soul (atman, jiva, purusha) or a universal monistic consciousness ( Brahman). Vipassanā also requires an understanding of suffering or dukkha (and thus the four noble truths), impermanence (anicca) and interdependent origination.
a technique for entering into other bodies, generating multiple bodies, and the attainment of other supernatural accomplishments; these are, states White, described in Tantric literature of Hinduism and Buddhism, as well as the Buddhist Sāmaññaphalasutta;[41] James Mallinson, however, disagrees and suggests that such fringe practices are far removed from the mainstream Yoga's goal as meditation-driven means to liberation in Indian religions.[42]
The spiritual sense of the word yoga first arises in Epic Sanskrit, in the second half of the 1st millennium BCE, and is associated with the philosophical system presented in the Yoga Sutras of Patanjali, with the chief aim of "uniting" the human spirit with the Divine.[24] The term kriyāyoga has a technical meaning in the Yoga Sutras (2.1), designating the "practical" aspects of the philosophy, i.e. the "union with the supreme" due to performance of duties in everyday life.[25]