stimulates production of hormones by the gonads for both female and male​