Stimulates the release of follicle-stimulating hormone (FSH) and luteinizing hormone (LH) from the pituitary gland.