यजन्ते सात्त्विका देवान्यक्षरक्षांसि राजसाः।
प्रेतान्भूतगणांश्चान्ये यजन्ते तामसा जनाः।।17.4।।
17.4 Those having the sattva ality worship the gods; those having rajas, the demi-gods and ogres; and other people possessed of tamas worship ghosts and the hosts of spirits.
17.4 Those who have abundance of Sattva ality and are conjoined with Sattvika faith worship the gods. The meaning is this: The faith in the worship (sacrifice) of the gods which causes supreme joy unmixed with pain is of Sattvika nature. The Rajasika types worship Yaksas and Raksasas. And the others, i.e., the Tamasika types, worship the departed ancestors and hosts of Bhutas. The faith born of Rajas brings about limited joy mixed with pain, while the faith born of Tamas gives rise to extremely limited joy which verges almost on pain. Therefore, there is difference in fruits according to the Gunas regarding sacrifices etc., which are enjoined in the Sastras and associated with faith. However, no happiness whatsoever will result from penances, sacrifices etc., not enjoined in the Sastras and therefore antagonistic to My ?ndment. On the contrary, calamity results from them. Sri Krsna proceeds to explain this more fully.
Yajante saattwikaa devaan yaksharakshaamsi raajasaah; Pretaan bhootaganaamshchaanye yajante taamasaa janaah.
yajante—worship; sāttvikāḥ—those in the mode of goodness; devān—celestial gods; yakṣha—semi-celestial beings who exude power and wealth; rakṣhānsi—powerful beings who embody sensual enjoyment, revenge, and wrath; rājasāḥ—those in the mode of passion; pretān-bhūta-gaṇān—ghosts and spirits; cha—and; anye—others; yajante—worship; tāmasāḥ—those in the mode of ignorance; janāḥ—persons