More specifically, it produces mature haploid spermatozoa, which are the male gametes that can fertilize an egg.