The prostate is a small gland that forms part of the male reproductive system. Prostate cancer and prostatitis are two conditions that can affect the prostate and may present with similar symptoms.