Yoga may have pre-Vedic elements.[45][46] Some state yoga originated in the Indus Valley Civilization.[51] Marshall,[52] Eliade[10] and other scholars note that the Pashupati seal discovered in an Indus Valley Civilization site depicts a figure in a position resembling an asana used for meditation, Mulabandhasana. This interpretation is considered speculative and uncertain by more recent analysis of Srinivasan[10] and may be a case of projecting "later practices into archeological findings".[53]

Generally, the context in which an individual lives is of great importance for both his health status and quality of their life It is increasingly recognized that health is maintained and improved not only through the advancement and application of health science, but also through the efforts and intelligent lifestyle choices of the individual and society. According to the World Health Organization, the main determinants of health include the social and economic environment, the physical environment and the person's individual characteristics and behaviors.[18]

Genetics, or inherited traits from parents, also play a role in determining the health status of individuals and populations. This can encompass both the predisposition to certain diseases and health conditions, as well as the habits and behaviors individuals develop through the lifestyle of their families. For example, genetics may play a role in the manner in which people cope with stress, either mental, emotional or physical. For example, obesity is a significant problem in the United States that contributes to bad mental health and causes stress in the lives of great numbers of people.[31] (One difficulty is the issue raised by the debate over the relative strengths of genetics and other factors; interactions between genetics and environment may be of particular importance.)
The environment is often cited as an important factor influencing the health status of individuals. This includes characteristics of the natural environment, the built environment and the social environment. Factors such as clean water and air, adequate housing, and safe communities and roads all have been found to contribute to good health, especially to the health of infants and children.[18][29] Some studies have shown that a lack of neighborhood recreational spaces including natural environment leads to lower levels of personal satisfaction and higher levels of obesity, linked to lower overall health and well being.[30] This suggests that the positive health benefits of natural space in urban neighborhoods should be taken into account in public policy and land use.

Continuing weight loss may deteriorate into wasting, a vaguely defined condition called cachexia.[30] Cachexia differs from starvation in part because it involves a systemic inflammatory response.[30] It is associated with poorer outcomes.[25][30][31] In the advanced stages of progressive disease, metabolism can change so that they lose weight even when they are getting what is normally regarded as adequate nutrition and the body cannot compensate. This leads to a condition called anorexia cachexia syndrome (ACS) and additional nutrition or supplementation is unlikely to help.[27] Symptoms of weight loss from ACS include severe weight loss from muscle rather than body fat, loss of appetite and feeling full after eating small amounts, nausea, anemia, weakness and fatigue.[27]

One of the earliest and most influential sub-traditions of Vedanta, is Advaita Vedanta, which posits nondualistic monism. This tradition emphasizes Jñāna yoga (yoga of knowledge), which is aimed at realizing the identity of one's atman (soul, individual consciousness) with Brahman (the Absolute consciousness).[255][256] The most influential thinker of this school is Adi Shankara (8th century), who wrote various commentaries and original works which teach Jñāna yoga. In Advaita Vedanta, Jñāna is attained on the basis of scripture (sruti) and one's guru and through a process of listening (sravana) to teachings, thinking and reflecting on them (manana) and finally meditating on these teachings (nididhyāsana) in order to realize their truth.[257] It is also important to develop qualities such as discrimination (viveka), renunciation (virāga), tranquility, temperance, dispassion, endurance, faith, attention and a longing for knowledge and freedom ('mumukṣutva).'[258] Yoga in Advaita is ultimately a "meditative exercise of withdrawal from the particular and identification with the universal, leading to contemplation of oneself as the most universal, namely, Consciousness".[259]
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]
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.
One of the best known early expressions of Brahmanical Yoga thought is the Yoga Sutras of Patanjali , the original name of which may have been the Pātañjalayogaśāstra-sāṃkhya-pravacana (c. sometime between 325 - 425) which some scholars now believe included both the sutras and a commentary.[129] As the name suggests, the metaphysical basis for this text is the Indian philosophy termed Sāṃkhya. This atheistic school is mentioned in Kauṭilya's Arthashastra as one of the three categories of anviksikis (philosophies) along with Yoga and Cārvāka.[130][131] The two schools have some differences as well. Yoga accepted the conception of "personal god", while Samkhya developed as a rationalist, non-theistic/atheistic system of Hindu philosophy.[132][133][134] Sometimes Patanjali's system is referred to as Seshvara Samkhya in contradistinction to Kapila's Nirivara Samkhya.[135] The parallels between Yoga and Samkhya were so close that Max Müller says that "the two philosophies were in popular parlance distinguished from each other as Samkhya with and Samkhya without a Lord."[136]