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.
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. Two mental qualities are said to be indispensable for yogic practice in Buddhism, samatha (calm, stability) and vipassanā (insight, clear seeing). 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). 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. https://buzzingofferbusinessinvesting.tumblr.com/