Yoga Niyamas come in the second limb of the eight-limbed yoga system designed by Patanjali. Niyama deals with our internal self-discipline paying least attention to the external ethical behavior. The Yamas in yoga focus on person’s external conduct that affects society, while the Niyamas deal mostly with the inner strength and discipline in a person, so that he lives in peace with himself. In most of the scriptures, you will find ten Niyamas but in the Yoga Sutras of Patanjali, you will find only five Niyamas that are inner observations, restraints, and obligations.