Thanks for your query,based on the facts that you have posted it appears that you have noticed black spots on your scrotum
and both the testicles are swollen and tender.
You have not mentioned whether you are Diabetic or not.
This could be a what is called as Fournier's gangrene
however this needs to be confirmed by clinical examination by a qualified General Surgeon
Please get this confirmed as this needs urgent treatment and intervention.