Śrīmad-Bhāgavatam · Text 3.5.8
Who is speaking and story frame
यैस्तत्त्वभेदैरधिलोकनाथो
लोकानलोकान् सह लोकपालान् ।
अचीक्लृपद्यत्र हि सर्वसत्त्व-
निकायभेदोऽधिकृत: प्रतीत: ॥ ८ ॥
yais tattva-bhedair adhiloka-nātho
lokān alokān saha lokapālān
acīkḷpad yatra hi sarva-sattva-
nikāya-bhedo ’dhikṛtaḥ pratītaḥ
The Supreme King of all kings has created different planets and places of habitation where living entities are situated in terms of the modes of nature and work, and He has created their different kings and rulers.
Read Śrīla Prabhupāda's purport on Vedabase.io