Panchklesh-Five afflictions

The five obstacles of mind, which prevent jeev from going towards the ultimate goal of life, are called Panchklesh (Devanagari: पंचक्लेश ISO15919: paṁcakleśa). Panch (Devanagari: पंच ISO15919: paṁca) means five, klesh (Devanagari: क्लेश ISO15919: kleśa) means obstacle.
These five obstacles are described by Sage Patanjali in the Yoga Sutra.
Avidya
The literal meaning of the word avidya (Devanagari: अविद्या ISO15919: ) is ignorance. The root cause of our sufferings is ignorance. Due to ignorance one has distorted view of the reality. These misconceived three notions cause pain to the jeev.
The distorted view that we hold on to are -
Mistaking temporary to be permanent
The first part of ignorance is to consider the temporary matters of the world to be permanent (अनित्य को नित्य मानना).
This notion inspires us to continue to accumulate temporary material things and establish relationships with material beings. All this is in the hopes of getting permanent bliss from them.
In the process, we struggle in the beginning as we strive hard to procure those temporal objects. After obtaining them, we are gripped with the fear of losing them. So, again endeavor to protect them. Finally, we wallow in grief when they are damaged or demised.
In spite of myriads of experiences of many life times, we could not realize the fleeting nature of the material objects.
Mistaking pain to be pleasure
Another aspect of ignorance is considering the the pains of the world to be true pleasure (दुःख को सुख मानना).
For example when a baby is born, parents are delighted. They fondly imagine that the baby will bring them immense happiness. They cannot foresee, one more link is added in the chain of bondage. In other words, their life is going to be more stressed now.
Lord Buddha could see it. That is why He left His wife and child and sought for enlightenment.
This awakening happens when one keenly obverses the impact of procuring material objects of pleasure. All kinds of material pleasures eventually lead to pain and suffering. Even worse is that while enjoying those pleasures, there is fear of being deprived of it.
Additionally, no material object (thing or person) lasts for ever hence pleasure derived from them cannot last forever. Further more after a brief time you feel the insipidness of the material object.
Mistaken view of me and mine
Mistakenly thinking that the material body is me (अनात्म को आत्म मानना). This is another ignorance.
Each jeev is given a body for a fixed period of time. When that much time has elapsed then the jeev leaves that body.
Family and friends used to shower affection when the person was alive. But after the soul departs the body then nobody showers affection towards that dead body.
This undoubtedly proves that we inherently can distinguish the body from the soul. But while the loved one is alive this fact eludes us. Most certainly, we believe in the distorted reality that I am this body.
Asmita
Asmita (Devanagari: अस्मिता ISO15919: asmitā) is ego. We have a false ego of our ephemeral (temporary) body.
Due to this ego jeev differentiates oneself as man and woman. then create further subclassifications by wealth, nationality, caste and numerous other ways. Then further sub-divide those e.g. I am Indian then further classify as I am Gujrati, Punjabi, Marathi. There is no limit to creating sub-divisions.
Then competition, animosity, rivalry grows amongst different groups. People start competing with other groups to prove ones own superiority over the other group. In doing all this one exerts more and more effort and becomes more dissatisfied, discontented and thus miserable.
Raag
Raag (Devanagari: राग ISO15919: राग) is having favorable feelings towards someone e.g. friends and family members.
Jeev wants eternal divine bliss. This attachment towards others is also an affliction since now others pain and suffering becomes your pain and suffering.
Due to your attachment to them you often think about them. So, their good and bad qualities start influencing your mind.
Additionally, everyone has only one mind. If mind is attached to loved ones then with which mind will you do exclusive devotion to God?
Dvesh
Dvesh (Devanagari: द्वेष ISO15919: dveṣa) means harboring a ill-will for someone.
In fact, this is also attachment but with the feeling of hatred. You have amiable feelings towards your loved ones and think of them. Similarly, it is natural to think about the person towards whom you have ill-will.
Your duration of remembering a loved one depends on your attachment towards him. Similarly, your level of detest governs how often you think of your adversary. If you are extremely adversarial then you constantly think about his qualities that you dislike. You might hatch plans of how to insult him, how to take revenge with him and so on. So, the good and bad qualities of your adversary rub off on your mind.
So this affliction also impedes the jeev from attaining divine eternal bliss.
Jagadguru Shri Kripalu Ji Maharaj has explained it nicely in His philosophy book Prem Ras Siddhant. He says raag and dvesh towards every material object (person or thing) is reprehensible.
Regardless of whether you have affinity or animosity thinking about it impurifies your mind. Repeated remembrance leaves an deep impression on your mind. Gradually that personality mingles with your personality and cannot be separated from each other.
Kansa had excessive fear for Shri Krishna. Eventually, he could not see anything except for Shri Krishna. He saw Shri Krishna even in food, water, his own clothes. Let alone other things he saw Shri Krishna in his own body. He became extremely restless.
The gopis loved Shri Krishna. They were also constantly thinking about Shri Krishna. Hence both, Kans and the gopis attained the same Golok. Golok is divine abode of Shri Krishna. It means one gets the reward of attachment of mind.
If mind is attached anywhere in the material realm, one has to suffer again and again in this material world. If mind is attached to God in any way (due to affection, hatred, passion, anger, fear etc.) the reward will be divine, as God is divine.
Abhinivesh
Abhinivesh (Devanagari: अभिनिवेश ISO15919: abhiniveśa) is fear of death. Although, we do not remember the pain of death of each life, yet it remains in our sub-conscious mind. We have an idea of its pain due to experience of previous lives.
That is why every one, even an infant, is inherently scared of death. Another reason of fear of death is what unknown sufferings one might have to bear in unknown form on an unknown material abode (see upper and lower planets).
These afflictions plague those who are not surrendered to God. For those who surrender unto God they never fear anything.
Never be deceived by the following words such as ‘you will attain salvation after death", or "you will attain the vision of God after your death’.
Whatever you obtain in this human life (virtues, sins or spiritual bliss) only that will go with you. After death one only reaps the consequences of his deeds.