The origins of yoga have been speculated to date back to pre-Vedic Indian traditions; it is mentioned in the Rigveda, but most likely developed around the sixth and fifth centuries BCE, in ancient India’s ascetic and śramaṇa movements.
The chronology of earliest texts describing yoga-practices is unclear, varyingly credited to Upanishads. The Yoga Sutras of Patanjali date from the first half of the 1st millennium CE, but only gained prominence in the West in the 20th century. Hatha yoga texts emerged around the 11th century with origins in tantra.
The Sanskrit noun yoga translates to (and is cognate with) English “yoke”. It is derived from the root yuj “to attach, join, harness, yoke”
Wikipedia
Yoga gurus from India later introduced yoga to the West, following the success of Swami Vivekananda in the late 19th and early 20th century. In the 1980s, yoga became popular as a system of physical exercise across the Western world. Yoga in Indian traditions, however, is more than physical exercise; it has a meditative and spiritual core. One of the six major orthodox schools of Hinduism is also called Yoga, which has its own epistemology and metaphysics, and is closely related to Hindu Samkhya philosophy.
Many studies have tried to determine the effectiveness of yoga as a complementary intervention for cancer, schizophrenia, asthma, and heart disease. The results of these studies have been mixed and inconclusive. On December 1, 2016, yoga was listed by UNESCO as an intangible cultural heritage.
The spiritual sense of the word yoga first arises in Epic Sanskrit, in the second half of the 1st millennium BCE, and is associated with the philosophical system presented in the Yoga Sutras of Patanjali, with the chief aim of “uniting” the human spirit with the Divine. The term kriyāyoga has a grammatical sense, meaning “connection with a verb”. But the same compound is also given a technical meaning in the Yoga Sutras (2.1), designating the “practical” aspects of the philosophy, i.e. the “union with the supreme” due to performance of duties in everyday life