The Yoga Yajnavalkya is a classical treatise on yoga attributed to the Vedic sage Yajnavalkya. It takes the form of a dialogue between Yajnavalkya and Gargi, a renowned philosopher.[162] The text contains 12 chapters and its origin has been traced to the period between the second century BCE and fourth century CE.[163] Many yoga texts like the Hatha Yoga Pradipika, the Yoga Kundalini and the Yoga Tattva Upanishads have borrowed verses from or make frequent references to the Yoga Yajnavalkya.[164] The Yoga Yajnavalkya discusses eight yoga Asanas – Swastika, Gomukha, Padma, Vira, Simha, Bhadra, Mukta and Mayura,[165] numerous breathing exercises for body cleansing,[166] and meditation.[167]
Modern yoga is a physical activity consisting largely of asanas, often connected by flowing sequences called vinyasas, sometimes accompanied by the breathing exercises of pranayama, and usually ending with a period of relaxation or meditation. It is often known simply as yoga,[211] despite the existence of multiple older traditions of yoga within Hinduism where asanas played little or no part, some dating back to the Yoga Sutras, and despite the fact that in no tradition was the practice of asanas central.[212]

^ Mann, T; Tomiyama, AJ; Westling, E; Lew, AM; Samuels, B; Chatman, J (April 2007). "Medicare's search for effective obesity treatments: diets are not the answer". The American Psychologist. 62 (3): 220–33. CiteSeerX doi:10.1037/0003-066x.62.3.220. PMID 17469900. In sum, there is little support for the notion that diets ["severely restricting one’s calorie intake"] lead to lasting weight loss or health benefits.

The hymns in Book 2 of the Shvetashvatara Upanishad, another late first millennium BCE text, states a procedure in which the body is held in upright posture, the breath is restrained and mind is meditatively focussed, preferably inside a cave or a place that is simple, plain, of silence or gently flowing water, with no noises nor harsh winds.[102][103][100]
Similarly, Brahma sutras – the foundational text of the Vedanta school of Hinduism, discusses yoga in its sutra 2.1.3, 2.1.223 and others.[121] Brahma sutras are estimated to have been complete in the surviving form sometime between 450 BCE to 200 CE,[122][123] and its sutras assert that yoga is a means to gain "subtlety of body" and other powers.[121] The Nyaya sutras – the foundational text of the Nyaya school, variously estimated to have been composed between the 6th-century BCE and 2nd-century CE,[124][125] discusses yoga in sutras 4.2.38–50. This ancient text of the Nyaya school includes a discussion of yogic ethics, dhyana (meditation), samadhi, and among other things remarks that debate and philosophy is a form of yoga.[126][127][128]
Description of an early form of yoga called nirodhayoga (yoga of cessation) is contained in the Mokshadharma section of the 12th chapter (Shanti Parva) of the Mahabharata (third century BCE).[109] Nirodhayoga emphasizes progressive withdrawal from the contents of empirical consciousness such as thoughts, sensations etc. until purusha (Self) is realized. Terms like vichara (subtle reflection), viveka (discrimination) and others which are similar to Patanjali's terminology are mentioned, but not described.[110] There is no uniform goal of yoga mentioned in the Mahabharata. Separation of self from matter, perceiving Brahman everywhere, entering into Brahman etc. are all described as goals of yoga. Samkhya and yoga are conflated together and some verses describe them as being identical.[111] Mokshadharma also describes an early practice of elemental meditation.[112] Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things.[111]