Śrīmad-Bhāgavatam · Text 2.10.26
Who is speaking and story frame
निरभिद्यत शिश्नो वै प्रजानन्दामृतार्थिन: ।
उपस्थ आसीत् कामानां प्रियं तदुभयाश्रयम् ॥ २६ ॥
nirabhidyata śiśno vai
prajānandāmṛtārthinaḥ
upastha āsīt kāmānāṁ
priyaṁ tad-ubhayāśrayam
Thereupon, for sexual pleasure, begetting offspring and tasting heavenly nectar, the Lord developed the genitals, and thus there is the genital organ and its controlling deity, the Prajāpati. The object of sexual pleasure and the controlling deity are under the control of the genitals of the Lord.
Read Śrīla Prabhupāda's purport on Vedabase.io