The hypothalamus produces gonadotropin-releasing hormone (GnRH) which stimulates the anterior portion of the pituitary gland to produce luteinizing hormone (LH) and follicle-stimulating hormone (FSH), these in turn induce cells of the ovary in girls and testis in boys to produce sex hormones that are necessary for ovulation and spermatogenesis and corresponding secondary sex characteristics.