Gonads develop from embryonic
Mesoderm
Ectoderm, mesoderm and endoderm are the three germ layers that give rise to specific tissues, organs and organ systems. Gonads, muscles, dermis, kidneys etc., develop from mesoderm. Ectoderm produces epidermis, nervous system etc. Pancreas, lining of the urinary bladder etc., develop from endoderm.