Sex in the brain: How the brain regulates reproductive function