GO:0007283: spermatogenesis
The process of formation of spermatozoa, including spermatocytogenesis and spermiogenesis.