A gonad, sex gland, or reproductive gland is a mixed gland that produces the gametes and sex hormones of an organism. Female reproductive cells are egg cells, and male reproductive cells are sperm. The male gonad, the testicle, produces sperm in the form of spermatozoa. The female gonad, the ovary, produces egg cells. Both of these gametes are haploid cells. Some hermaphroditic animals have a type of gonad called an ovotestis.