The role of the testis is producing spermatozoa and androgens. It has a complex structure, shown in this video. Testis is covered by visceral layer of tunica vaginalis testis and tunica albuginea where there is contact with epididymis. See more in the clip.