Epididymitis is an inflammation of the epididymis, a coiled tube located at the back of the testicle that stores and carries sperm. It can result from infections, often caused by sexually transmitted bacteria or urinary tract infections, and may lead to symptoms such as pain, swelling, and redness in the scrotum. Treatment typically involves antibiotics and pain relief, and timely intervention is important to prevent complications.