The prostate is a small gland inside the body that is located between the bladder and the base of the penis in men. The prostate surrounds the urethra, the tube that urine passes through as it exits the body. The prostate has two important functions related to sexual health. It produces prostatic fluid, which is a component of semen that helps nourish and protect sperm. The prostate also contracts during ejaculation to help propel semen forward.