Those who are of the Sattva quality worship the celestial, those of Raja worship Yakshas and Rakshasas, and those of Tama do the same to departed spirits and ghosts.
यजन्ते सात्त्विका देवान् यक्षरक्षांसि राजसाः। प्रेतान् भूतगणांश्चान्ये यजन्ते तामसा जनाः॥