Prostatitis is the inflammation of the prostate gland.
It is usually occurs as a response to an infection.
This inflammation causes swelling of the prostate gland which in turn can affect urination.