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). 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. 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. Mokshadharma also describes an early practice of elemental meditation. Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things.
^ World Health Organization.Constitution of the World Health Organization as adopted by the International Health Conference, New York, 19–22 June 1946; signed on 22 July 1946 by the representatives of 61 States (Official Records of the World Health Organization, no. 2, p. 100) and entered into force on 7 April 1948. In Grad, Frank P. (2002). "The Preamble of the Constitution of the World Health Organization". Bulletin of the World Health Organization. 80 (12): 982.
During the period between the Mauryan and the Gupta eras (c. 200 BCE–500 CE) the Indic traditions of Hinduism, Buddhism and Jainism were taking form and coherent systems of yoga began to emerge. This period witnessed many new texts from these traditions discussing and systematically compiling yoga methods and practices. Some key works of this era include the Yoga Sūtras of Patañjali, the Yoga-Yājñavalkya, the Yogācārabhūmi-Śāstra and the Visuddhimagga.