Gonads develop from embryonic
Ectoderm
Endoderm
Mesoderm
Both mesoderm and endoderm
Fate of Germ Layers -

Gonads, muscles, derms , kidney etc develop from mesoderm.
Hence, the correct option is (c).