" "

Pre-philosophical speculations of yoga begin to emerge in the texts of c. 500 – c. 200 BCE. Between 200 BCE and 500 CE, philosophical schools of Hinduism, Buddhism, and Jainism were taking form and a coherent philosophical system of yoga began to emerge.[49] The Middle Ages saw the development of many satellite traditions of yoga. Yoga came to the attention of an educated western public in the mid 19th century along with other topics of Indian philosophy.
Yoga and Vedanta are the two largest surviving schools of Hindu traditions. They share many thematic principles, concepts and belief in self/soul, but diverge in degree, style and some of their methods. Epistemologically, Yoga school accepts three means to reliable knowledge, while Advaita Vedanta accepts six ways.[159] Yoga disputes the monism of Advaita Vedanta.[160] Yoga school believes that in the state of moksha, each individual discovers the blissful, liberating sense of himself or herself as an independent identity; Advaita Vedanta, in contrast, believes that in the state of moksha, each individual discovers the blissful, liberating sense of himself or herself as part of Oneness with everything, everyone and the Universal Self. They both hold that the free conscience is aloof yet transcendent, liberated and self-aware. Further, Advaita Vedanta school enjoins the use of Patanjali's yoga practices and the reading of Upanishads for those seeking the supreme good, ultimate freedom and jivanmukti.[160]
The Yoga Sutras are also influenced by the Sramana traditions of Buddhism and Jainism, and may represent a further Brahmanical attempt to adopt yoga from the Sramana traditions.[129] As noted by Larson, there are numerous parallels in the concepts in ancient Samkhya, Yoga and Abhidharma Buddhist schools of thought, particularly from 2nd century BCE to 1st century AD.[139] Patanjali's Yoga Sutras is a synthesis of these three traditions. From Samkhya, the Yoga Sutras adopt the "reflective discernment" (adhyavasaya) of prakrti and purusa (dualism), its metaphysical rationalism, as well its three epistemic methods of gaining reliable knowledge.[139] From Abhidharma Buddhism's idea of nirodhasamadhi, suggests Larson, Yoga Sutras adopt the pursuit of altered state of awareness, but unlike Buddhism's concept of no self nor soul, Yoga is physicalist and realist like Samkhya in believing that each individual has a self and soul.[139] The third concept Yoga Sutras synthesize into its philosophy is the ancient ascetic traditions of meditation and introspection, as well as the yoga ideas from middle Upanishads such as Katha, Shvetashvatara and Maitri.[139]
The first known appearance of the word "yoga", with the same meaning as the modern term, is in the Katha Upanishad,[9][95] probably composed between the fifth and third century BCE,[96][97] where it is defined as the steady control of the senses, which along with cessation of mental activity, leading to a supreme state.[67][note 13] Katha Upanishad integrates the monism of early Upanishads with concepts of samkhya and yoga. It defines various levels of existence according to their proximity to the innermost being Ātman. Yoga is therefore seen as a process of interiorization or ascent of consciousness.[99][100] It is the earliest literary work that highlights the fundamentals of yoga. White states:
^ Andrew J. Nicholson (2013). Unifying Hinduism: Philosophy and Identity in Indian Intellectual History. Columbia University Press. p. 26. ISBN 978-0-231-14987-7., Quote: "From a historical perspective, the Brahmasutras are best understood as a group of sutras composed by multiple authors over the course of hundreds of years, most likely composed in its current form between 400 and 450 BCE."
The earliest references to hatha yoga are in Buddhist works dating from the eighth century.[200] The earliest definition of hatha yoga is found in the 11th century Buddhist text Vimalaprabha, which defines it in relation to the center channel, bindu etc.[201] Hatha yoga synthesizes elements of Patanjali's Yoga Sutras with posture and breathing exercises.[202] It marks the development of asanas (plural) into the full body 'postures' now in popular usage[186] and, along with its many modern variations, is the style that many people associate with the word yoga today.[203]
An influential text which teaches yoga from an Advaita perspective of nondualistic idealism is the Yoga-Vāsiṣṭha.[263] This work uses numerous short stories and anecdotes to illustrate its main ideas. It teaches seven stages or bhumis of yogic practice. It was a major reference for medieval Advaita Vedanta yoga scholars and before the 12th century, it was one of the most popular texts on Hindu yoga.[264]

According to Zimmer, Yoga philosophy is reckoned to be part of the non-Vedic system, which also includes the Samkhya school of Hindu philosophy, Jainism and Buddhism:[45] "[Jainism] does not derive from Brahman-Aryan sources, but reflects the cosmology and anthropology of a much older pre-Aryan upper class of northeastern India [Bihar] – being rooted in the same subsoil of archaic metaphysical speculation as Yoga, Sankhya, and Buddhism, the other non-Vedic Indian systems."[61][note 6]
Ascetic practices, concentration and bodily postures described in the Vedas may have been precursors to yoga.[59][60] According to Geoffrey Samuel, "Our best evidence to date suggests that [yogic] practices developed in the same ascetic circles as the early sramana movements (Buddhists, Jainas and Ajivikas), probably in around the sixth and fifth centuries BCE."[8]
Alexander Wynne observes that formless meditation and elemental meditation might have originated in the Upanishadic tradition.[93] The earliest reference to meditation is in the Brihadaranyaka Upanishad, one of the oldest Upanishads.[67] Chandogya Upanishad describes the five kinds of vital energies (prana). Concepts used later in many yoga traditions such as internal sound and veins (nadis) are also described in the Upanishad.[59] Taittiriya Upanishad defines yoga as the mastery of body and senses.[94]
^ * Wynne states that "The Nasadiyasukta, one of the earliest and most important cosmogonic tracts in the early Brahminic literature, contains evidence suggesting it was closely related to a tradition of early Brahminic contemplation. A close reading of this text suggests that it was closely related to a tradition of early Brahminic contemplation. The poem may have been composed by contemplatives, but even if not, an argument can be made that it marks the beginning of the contemplative/meditative trend in Indian thought."[73]

Vajrayana is also known as Tantric Buddhism and Tantrayāna. Its texts were compiled starting with 7th century and Tibetan translations were completed in 8th century CE. These tantra yoga texts were the main source of Buddhist knowledge that was imported into Tibet.[187] They were later translated into Chinese and other Asian languages, helping spread ideas of Tantric Buddhism. The Buddhist text Hevajra Tantra and Caryāgiti introduced hierarchies of chakras.[188] Yoga is a significant practice in Tantric Buddhism.[189][190][191]

Various yogic groups had become prominent in Punjab in the 15th and 16th century, when Sikhism was in its nascent stage. Compositions of Guru Nanak, the founder of Sikhism, describe many dialogues he had with Jogis, a Hindu community which practiced yoga. Guru Nanak rejected the austerities, rites and rituals connected with Hatha Yoga. He propounded the path of Sahaja yoga or Nama yoga (meditation on the name) instead.[204] The Guru Granth Sahib states:
Yoga (/ˈjoʊɡə/;[1] Sanskrit: योग; pronunciation) is a group of physical, mental, and spiritual practices or disciplines which originated in ancient India. Yoga is one of the six orthodox schools of Hindu philosophical traditions.[2] There is a broad variety of yoga schools, practices, and goals[3] in Hinduism, Buddhism, and Jainism.[4][5][6] The term "yoga" in the Western world often denotes a modern form of Hatha yoga, consisting largely of the postures called asanas.