yajante sāttvikā devān yakṣha-rakṣhānsi rājasāḥ
pretān bhūta-gaṇānśh chānye yajante tāmasā janāḥ||4||
Meaning : Lord Krishna said:
People with sattvic (pure) nature worship the gods (devas); those with rajasic (passionate) nature worship yakshas (spirits of wealth) and rakshasas (powerful beings); while people with tamasic (ignorant) nature worship ghosts and spirits of the dead.