Inflammation of the testicle due to infection, often stemming from a sexually transmitted infection or untreated epididymitis.