A swelling caused by the collection of blood in a cavity, especially of the membrane covering a testicle.