What hormone stimulates the cycle of egg or sperm production?

For the sperm is the testosterone while the egg cell is the estrogen.