The desires in mind can be categorised on the basis of their sources.
In Bhagavad Gita, when Śrībhagavān teaches Arjuna about the importance of doing his duties without worrying about its consequences, he asks about the cause of the internal influence for abandoning duties and involvement in wrong doings. Arjuna had the misunderstanding that his duty was to leave the battlefield rather than fighting against his grandfather, Guru and cousins; this was his misunderstanding. He had forgotten his duty as a soldier and a warrior prince, which was to fight against Adharma. It was evident while he threw his weapons away that Arjuna had the illusion that he was doing the right thing; in fact, it was his illusion. Doing wrong, he assumes that he is doing right.
Fortunately, during the conversation with Śrībhagavān, in the middle of the battlefield, Arjuna gets the initial clarity about his own mistake; so he asks Śrībhagavān who persuades him to come to the wrong conclusions, even though he wants the opposite. Arjuna wanted to know the cause of his illusion. So this was his question to Śrībhagavān.
अर्जुन उवाच
अथ केन प्रयुक्तोयं पापं चरति पूरु॒ष
अनिच्छन्नपि वार्ष्णेय बलागिव नियोजितः॥
Arjuna uvāca:
atha kena prayuktoyam pāpam carati
pūrusa anicchannapi vārshneya balādiva niyojitaḥ
[Now then, O Vārshneya, impelled by what this man was involved in wrong doing, even against his wish, as if it were being constrained by force?]
Śrībhagavān has answers for all such questions from Arjuna. The answer given by Śrībhagavān is the basic teaching of all Darsana-s, including Yoga and Vedanta. All proclaim that the desire in mind is the basic reason for all wrong vibrations bubbling inside an individual. Śrībhagavān points out the same matter to Arjuna:
श्रीभगवान् उवाच
काम एष क्रोध एष रजोगुणसमुद्भवः
महाशनो महापाप्मा विद्ध्येनमिह वैरिणम्।
Śrībhagavān uvāca:
kāma eṣa krodha eṣa rajoguṇa samudbhavaḥ
mahāśano mahāpāpmā viddhyenamiha vairiṇam
[It is the desire, and it is the anger. They are born of Rajoguṇa. They are great devourers. And they are the true enemies, here on the battlefield.]
The desire which arises from Rajoguṇa is different from the wishes which arises from Satvaguṇa; the former one leads to wrong doing and the later one leads to happiness and liberation. The attempts for satisfying the needs in life can be understood as formed from Satvaguṇa; Like the appetite to eat fresh and nutritious food items. But longing for that which is beyond the need, like the craving for chocolate etc. can be considered as desires aroused from Rajoguṇa. Satisfying the wish from Satvaguṇa is a need, on the other hand, an unquenched thirst for satisfaction of desire should be recognised through proper introspection and studies, to manage them before growing uncontrollable and harmful.
The process of proper thinking for controlling the mental formations can happen only with the help of ‘food for thought’. Good ideas as described above, are the food for thought; used for the repeated reflection upon them. The repeated questioning and discovering the truth through the process of thinking are inevitable for the internal growth and realisation of Truth about the individual Self.