Yoga is discussed in the ancient foundational Sutras of Hindu philosophy. The Vaiśeṣika Sūtra of the Vaisheshika school of Hinduism, dated to have been composed sometime between 6th and 2nd century BCE discusses Yoga.[note 14] According to Johannes Bronkhorst, an Indologist known for his studies on early Buddhism and Hinduism and a professor at the University of Lausanne, Vaiśeṣika Sūtra describes Yoga as "a state where the mind resides only in the soul and therefore not in the senses".[120] This is equivalent to pratyahara or withdrawal of the senses, and the ancient Sutra asserts that this leads to an absence of sukha (happiness) and dukkha (suffering), then describes additional yogic meditation steps in the journey towards the state of spiritual liberation.[120]
During the Gupta period (4th to 5th centuries), a movement of northern Mahāyāna Buddhism termed Yogācāra began to be systematized with the writings of the Buddhist scholars Asanga and Vasubandhu. Yogācāra Buddhism received the name as it provided a "yoga," a systematic framework for engaging in the practices that lead through the path of the bodhisattva towards awakening and full Buddhahood.[168] Its teachings can be found in the comprehensive and encyclopedic work, the Yogācārabhūmi-Śāstra (Treatise on the Foundation for Yoga Practitioners), which was also translated into Tibetan and Chinese and thus exerted a profound influence on the East Asian Buddhist and Tibetan Buddhist traditions.[169] According to Mallinson and Singleton, the study of Yogācāra Buddhism is essential for the understanding of yoga's early history, and its teachings influenced the text of the Pātañjalayogaśāstra.[170]

"...[T]here is the cultivation of meditative and contemplative techniques aimed at producing what might, for the lack of a suitable technical term in English, be referred to as 'altered states of consciousness'. In the technical vocabulary of Indian religious texts such states come to be termed 'meditations' ([Skt.:] dhyāna / [Pali:] jhāna) or 'concentrations' (samādhi); the attainment of such states of consciousness was generally regarded as bringing the practitioner to deeper knowledge and experience of the nature of the world." (Gethin, 1998, p. 10.)

Later developments in the various Buddhist traditions led to new innovations in yogic practices. The Theravada school, while remaining relatively conservative, still developed new ideas on meditation and yogic phenomenology in their later works, the most influential of which is the Visuddhimagga. The Indic meditation teachings of Mahayana Buddhism can be seen in influential texts like the Yogācārabhūmi-Śāstra (compiled c. 4th century). Mahayana meditation practices also developed and adopted new yogic methods, such as the use of mantra and dharani, pure land practices which aimed at rebirth in a pure land or buddhafield, and visualization methods. Chinese Buddhism developed its own methods, such as the Chan practice of Koan introspection and Hua Tou. Likewise, Tantric Buddhism (also Mantrayana, Vajrayana) developed and adopted tantric methods, which remain the basis of the Tibetan Buddhist yogic systems, including the Six yogas of Naropa, Kalacakra, Mahamudra and Dzogchen.[248]

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.