Śrīmad-Bhāgavatam · Texts 2.10.37-40
Who is speaking and story frame
प्रजापतीन्मनून् देवानृषीन् पितृगणान् पृथक् ।
सिद्धचारणगन्धर्वान् विद्याध्रासुरगुह्यकान् ॥ ३७ ॥
किन्नराप्सरसो नागान् सर्पान् किम्पुरुषान्नरान् ।
मातृ रक्ष:पिशाचांश्च प्रेतभूतविनायकान् ॥ ३८ ॥
कूष्माण्डोन्मादवेतालान् यातुधानान् ग्रहानपि ।
खगान्मृगान् पशून् वृक्षान् गिरीन्नृप सरीसृपान् ॥ ३९ ॥
द्विविधाश्चतुर्विधा येऽन्ये जलस्थलनभौकस: ।
कुशलाकुशला मिश्रा: कर्मणां गतयस्त्विमा: ॥ ४० ॥
prajā-patīn manūn devān
ṛṣīn pitṛ-gaṇān pṛthak
siddha-cāraṇa-gandharvān
vidyādhrāsura-guhyakān
kinnarāpsaraso nāgān
sarpān kimpuruṣān narān
mātṝ rakṣaḥ-piśācāṁś ca
preta-bhūta-vināyakān
kūṣmāṇḍonmāda-vetālān
yātudhānān grahān api
khagān mṛgān paśūn vṛkṣān
girīn nṛpa sarīsṛpān
dvi-vidhāś catur-vidhā ye ’nye
jala-sthala-nabhaukasaḥ
kuśalākuśalā miśrāḥ
karmaṇāṁ gatayas tv imāḥ
O King, know from me that all living entities are created by the Supreme Lord according to their past deeds. This includes Brahmā and his sons like Dakṣa, the periodical heads like Vaivasvata Manu, the demigods like Indra, Candra and Varuṇa, the great sages like Bhṛgu, Vyāsa and Vasiṣṭha, the inhabitants of Pitṛloka and Siddhaloka, the Cāraṇas, Gandharvas, Vidyādharas, Asuras, Yakṣas, Kinnaras and angels, the serpentines, the monkey-shaped Kimpuruṣas, the human beings, the inhabitants of Mātṛloka, the demons, Piśācas, ghosts, spirits, lunatics and evil spirits, the good and evil stars, the goblins, the animals in the forest, the birds, the household animals, the reptiles, the mountains, the moving and standing living entities, the living entities born from embryos, from eggs, from perspiration and from seeds, and all others, whether they be in the water, land or sky, in happiness, in distress or in mixed happiness and distress. All of them, according to their past deeds, are created by the Supreme Lord.
Read Śrīla Prabhupāda's purport on Vedabase.io