Lump on left testicle with pain

Patient: Hello,I have a lump on my left testicle which isnt attached to the testicle but attached to something. Its painful to touch and is half the size of a pea. It also makes the left side swell and look larger compared to the right side of the scrotum. Can you tell me what is and if its bad?Many thanks,

Doctor: