One verse

Bhagavad Gita 13.22

13.22

पुरुषः प्रकृतिस्थो हि भुङ्क्ते प्रकृतिजान्गुणान् | कारणं गुणसङ्गोऽस्य सदसद्योनिजन्मसु ||१३-२२||

puruṣaḥ prakṛtistho hi bhuṅkte prakṛtijānguṇān . kāraṇaṃ guṇasaṅgo.asya sadasadyonijanmasu ||13-22||

puruṣaḥ
the living entity
prakṛti-sthaḥ
being situated in the material energy
hi
certainly
bhuṅkte
enjoys
prakṛti-jān
produced by the material nature
guṇān
the modes of nature
kāraṇam
the cause
guṇa-saṅgaḥ
the association with the modes of nature
asya
of the living entity
sat-asat
in good and bad
yoni
species of life
janmasu
in births

The living entity in material nature thus follows the ways of life, enjoying the three modes of nature. This is due to his association with that material nature. Thus he meets with good and evil among various species.