The prostate is a small gland that is part of the male reproductive system. Located just below the bladder and in front of the rectum, it surrounds the urethra. The main function of the prostate is to produce seminal fluid, which nourishes and transports sperm.