According to Tattvarthasutra, 2nd century CE Jain text, yoga is the sum of all the activities of mind, speech and body. Umasvati calls yoga the cause of "asrava" or karmic influx as well as one of the essentials—samyak caritra—in the path to liberation. In his Niyamasara, Acarya Kundakunda, describes yoga bhakti—devotion to the path to liberation—as the highest form of devotion. 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. 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.[note 16]
The Gita consists of 18 chapters and 700 shlokas (verses), with each chapter named as a different yoga, thus delineating eighteen different yogas. 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.