Srimad Bhagavatam Canto 11, Chapter 24, Text 08

SB 11.24.8

arthas tan-matrikaj jajñe
 tamasad indriyani ca
taijasad devata asann
 ekadasa ca vaikrtat
 
Translation: 
 
From false ego in the mode of ignorance came the subtle physical perceptions, from which the gross elements were generated. From false ego in the mode of passion came the senses, and from false ego in the mode of goodness arose the eleven demigods.
 
Purport: 
 
From false ego in the mode of ignorance, sound is generated along with the sense of hearing to receive it and the sky as its medium. Next, the sensation of touch, air and the sense of touch are generated, and thus from subtle to gross all of the elements and their perceptions are generated. The senses, because they are busily engaged in activity, are created from false ego in the mode of passion. From false ego in goodness come eleven demigods: the deities of the directions, the wind and the sun, Varuna, the Asvini deities, Agni, Indra, Upendra, Mitra, Brahma and Candra.

 

Srimad Bhagavatam Canto 11, Chapter 24, Text 07
Srimad Bhagavatam Canto 11, Chapter 24, Text 09