<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have noticed some swelling in my scrotum and there seems to be a mass there as well. What could be the issue?  <response>: Based on your symptoms, it appears that you may have epididymitis. This is an inflammation of the epididymis, a tube located near the testicles, which often causes swelling and a mass in the scrotum. 