Yama, niyam, asana, pranayama, pratyahara are very essential for every person for physical and mental development and spiridual development, practices of Dharana, Dhyana, and Samadhi is necessary.
Yama
(A) Non-violence: Do not cause harm to anyone without words, thoughts, and deeds.
(B) Truth: - The truth in thoughts, staying in the ultimate truth, speaking the same authentic words as thoughts are in the mind.
(C) Asteya: - No tendency to thief.
(D) Brahmacharya: - There are two meanings.
Stabilizing consciousness in the knowledge of Brahman
Be restrained in all sensory pleasures
(F) Aparigraha: - Do not accumulate an excess of need and do not desire the things of others
Rule
(A) Poop: - Purification of body and mind
(B) Contentment: - To remain satisfied and happy.
(C) Tenacity: - To be self-disciplined
(D) Self-study: - Self-determination
(E) Ishvara Pranidhan: - There should be complete devotion, dedication to God.
Posture
Physical control through yoga asanas Asana is the way to cultivate the body. Patanjali calls the action of sitting steadily and pleasantly.
Pranayama
Pranayama is the Nadi instrument for the substantial role of yoga and the regulation of breathing and exhalation are done for their awakening. Pranayama is very helpful for conquering the agility and disturbance of the mind.
Withdrawal
Introducing the senses. According to Maharishi Patanjali, it is pratyahara to follow the senses of those senses which are flickering the mind and move away from the subjects. With pratyahara, the senses are subdued and complete victory is achieved over them. Therefore, after the desiresare blocked, the senses also get blocked in the same way as the other bees stop at the same place when the leader bee stops at one place.