The philosophy of Ashtanga yoga is the basis for Raja and Hatha yoga. This knowledge came from Patanjali, who gathered all available information on yoga and was the most responsible for preserving this philosophy. This whole philosophy is described in the book called “Patanjali’s Yoga Sutras” which contains 195 sutras (verses).