Rishi Patanjali states that yoga begins with righteous conduct and discipline. Accordingly, yama and niyama are considered the first two limbs of ashtanga yoga. With this foundation in place—and under the guidance of a competent teacher—the practitioner can progress further on the path of sadhana.