An influential text which teaches yoga from an Advaita perspective of nondualistic idealism is the Yoga-Vāsiṣṭha.[260] 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.[261]
According to Tattvarthasutra, 2nd century CE Jain text, yoga is the sum of all the activities of mind, speech and body.[6] Umasvati calls yoga the cause of "asrava" or karmic influx[171] as well as one of the essentials—samyak caritra—in the path to liberation.[171] In his Niyamasara, Acarya Kundakunda, describes yoga bhakti—devotion to the path to liberation—as the highest form of devotion.[172] Acarya Haribhadra and Acarya Hemacandra mention the five major vows of ascetics and 12 minor vows of laity under yoga. This has led certain Indologists like Prof. Robert J. Zydenbos to call Jainism, essentially, a system of yogic thinking that grew into a full-fledged religion.[173] The five yamas or the constraints of the Yoga Sutras of Patanjali bear a resemblance to the five major vows of Jainism, indicating a history of strong cross-fertilization between these traditions.[173][note 16]
Jain yoga has been a central practice in Jainism. Jain spirituality is based on a strict code of nonviolence or ahimsa (which includes vegetarianism), almsgiving (dana), right faith in the three jewels, the practice of austerities (tapas) such as fasting, and yogic practices.[249][250] Jain yoga aims at the liberation and purification of the self (atma) or soul (jiva) from the forces of karma, which keep all souls bound to the cycle of transmigration. Like Yoga and Sankhya, Jainism believes in a multiplicity of individual souls which bound by their individual karma.[251] Only through the reduction of karmic influxes and the exhaustion of one's collected karma can a soul become purified and released, at which point one becomes an omniscient being who has reaches "absolute knowledge" (kevala jnana).[252]
Yogaśataka a Jain work by Haribhadra Suri 6th century CE "With conviction, the lords of Yogins have in our doctrine defined yoga as the concurrence (sambandhah) of the three [correct knowledge (sajjñana), correct doctrine (saddarsana) and correct conduct (saccaritra)] beginning with correct knowledge, since [thereby arises] conjunction with liberation....In common usage this [term] yoga also [denotes the soul’s] contact with the causes of these [three], due to the common usage of the cause for the effect. (2, 4).[32]

Mental illness is described as 'the spectrum of cognitive, emotional, and behavioral conditions that interfere with social and emotional well-being and the lives and productivity of people. Having a mental illness can seriously impair, temporarily or permanently, the mental functioning of a person. Other terms include: 'mental health problem', 'illness', 'disorder', 'dysfunction'.[37]
Lifestyle choices are contributing factors to poor health in many cases. These include smoking cigarettes, and can also include a poor diet, whether it is overeating or an overly constrictive diet. Inactivity can also contribute to health issues and also a lack of sleep, excessive alcohol consumption, and neglect of oral hygiene (Moffett2013).There are also genetic disorders that are inherited by the person and can vary in how much they affect the person and when they surface (Moffett, 2013).
Alexander the Great reached India in the 4th century BCE. Along with his army, he took Greek academics with him who later wrote memoirs about geography, people and customs they saw. One of Alexander's companion was Onesicritus, quoted in Book 15, Sections 63–65 by Strabo, who describes yogins of India.[107] Onesicritus claims those Indian yogins (Mandanis ) practiced aloofness and "different postures – standing or sitting or lying naked – and motionless".[108]

What is often referred to as Classical Yoga or Astanga Yoga (Yoga of eight limbs) is mainly the type of Yoga outlined in the highly influential Yoga Sutras of Patanjali.[234] The origins of the Classical Yoga tradition are unclear, though early discussions of the term appear in the Upanishads.[235] The name "Rāja yoga" (yoga of kings) originally denoted the ultimate goal of yoga, samadhi,[236] but was popularised by Vivekananda as a common name for Ashtanga Yoga,[note 19] the eight limbs to be practised to attain samadhi, as described in the Yoga Sutras.[237][234] Yoga is also considered as one of the orthodox philosophical schools (darsanas) of Hinduism (those which accept the Vedas as source of knowledge).[238][239]
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.