According to Geoffrey Samuel, our "best evidence to date" suggests that yogic practices "developed in the same ascetic circles as the early śramaṇa movements (Buddhists, Jainas and Ajivikas), probably in around the sixth and fifth centuries BCE." This occurred during what is called the ‘Second Urbanisation’ period.[9] According to Mallinson and Singleton, these traditions were the first to use psychophysical techniques, mainly known as dhyana and tapas. but later described as yoga, to strive for the goal of liberation (moksha, nirvana) from samsara (the round of rebirth).[78]
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.[50] 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.
Another text which teaches yoga with an Advaita point of view is the Yoga-Yājñavalkya.[262] This work contains extensive teachings on ten Yamas (ethical rules) and ten Niyamas (duties), and eight asanas. It also discusses a theory of nadis and prana (vital breath), and follows this with instructions on pranayama (breath control), pratyahara (sense withdrawal), meditation on mantras, meditative visualizations and Kundalini.
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.