However, that knowledge by which one perceives that within different bodies there is a different kind of living being, is known to be in the mode of passion.
Bhagavad Gita - Chapter 18 - Moksha Yoga - The Yoga of Supreme Perfection
That knowledge by which one is attached to one kind of activity, that is without any truth and based upon trivial pursuits is known as knowledge in the mode of ignorance.
Regulated actions performed without attachment or aversion and with no desire for results are said to be in the mode of goodness.
Actions undertaken out of pride, to reap some benefit and with great endeavor are said to be in the mode of passion.
Actions performed out of bewilderment, without consideration of consequences, loss, injury and one’s personal capacity, are said to be in the mode of ignorance.
Those who perform activities without attachment, devoid of egotism, who are tolerant, enthusiastic and unaffected by loss or gain, are said to be in the mode of goodness.
Those who perform work desiring to enjoy the results of their actions, who are greedy, violent by nature, impure and affected by happiness and distress are said to be in the mode of passion.
Those who perform work in an undisciplined manner, those who are coarse, stubborn, unscrupulous, offensive, lazy, bad-tempered and procrastinate are said to be in the mode of ignorance.
O Dhananjaya, please hear as I now describe to you in detail the various mentalities and determination according to the three modes of nature.
O Partha, the mentality in the mode of goodness is that which can distinguish what should be done and what should not be done, duty and non-duty, what is to be feared and what is not to be feared and the nature of material bondage and liberation.