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:
^ Gavin Flood: "These renouncer traditions offered a new vision of the human condition which became incorporated, to some degree, into the worldview of the Brahman householder. The ideology of asceticism and renunciation seems, at first, discontinuous with the brahmanical ideology of the affirmation of social obligations and the performance of public and domestic rituals. Indeed, there has been some debate as to whether asceticism and its ideas of retributive action, reincarnation and spiritual liberation, might not have originated outside the orthodox vedic sphere, or even outside Aryan culture: that a divergent historical origin might account for the apparent contradiction within 'Hinduism' between the world affirmation of the householder and the world negation of the renouncer. However, this dichotomization is too simplistic, for continuities can undoubtedly be found between renunciation and vedic Brahmanism, while elements from non-Brahmanical, Sramana traditions also played an important part in the formation of the renunciate ideal. Indeed there are continuities between vedic Brahmanism and Buddhism, and it has been argued that the Buddha sought to return to the ideals of a vedic society which he saw as being eroded in his own day."[48]
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]
The Gita consists of 18 chapters and 700 shlokas (verses),[118] with each chapter named as a different yoga, thus delineating eighteen different yogas.[118][119] Some scholars divide the Gita into three sections, with the first six chapters with 280 shlokas dealing with Karma yoga, the middle six containing 209 shlokas with Bhakti yoga, and the last six chapters with 211 shlokas as Jnana yoga; however, this is rough because elements of karma, bhakti and jnana are found in all chapters.[118]
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).[258][259] 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.[260] 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).'[261] 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".[262]

The number of asanas used in modern yoga has increased rapidly from a nominal 84 in 1830, as illustrated in Joga Pradipika, to some 200 in Light on Yoga and over 900 performed by Dharma Mittra by 1984. At the same time, the goals of Haṭha yoga, namely spiritual liberation (moksha) through the raising of kundalini energy, were largely replaced by the goals of fitness and relaxation, while many of Haṭha yoga's components like the shatkarmas (purifications), mudras (seals or gestures including the bandhas, locks to restrain the prana or vital principle), and pranayama were much reduced or removed entirely.[228] The term "hatha yoga" is also in use with a different meaning, a gentle unbranded yoga practice, independent of the major schools, sometimes mainly for women.[229]

Sandow was so successful at flexing and posing his physique that he later created several businesses around his fame, and was among the first to market products branded with his name. He was credited with inventing and selling the first exercise equipment for the masses: machined dumbbells, spring pulleys, and tension bands. Even his image was sold by the thousands in "cabinet cards" and other prints. Sandow was a perfect "Gracilian", a standard of ideal body proportions close to those of ancient Greek and Roman statues. Men's physiques were then judged by how closely they matched these proportions.
The origins of yoga have been speculated to date back to pre-Vedic Indian traditions; it is mentioned in the Rigveda,[note 1] but most likely developed around the sixth and fifth centuries BCE, in ancient India's ascetic and śramaṇa movements.[8][note 2] The chronology of earliest texts describing yoga-practices is unclear, varyingly credited to Upanishads.[9] The Yoga Sutras of Patanjali date from the first half of the 1st millennium CE,[10][11] but only gained prominence in the West in the 20th century.[12] Hatha yoga texts emerged sometimes between the 9th and 11th century with origins in tantra.[13][14]