What is the tunica vaginalis?

What is the tunica vaginalis?

A serous cavity that surrounds the anterior, medial, and lateral surfaces of the testes. This is where a hydrocele collects.