Answer : The sperm cell is mainly the male germ cell. The cell specifically has the haploid set of chromosomes that forms a deployed zygote when combined with the egg cell. Haploid sperm is produced as a result of spermatogenesis. The spermatids are mainly composed when the spermatogenesis happens, and then it changes into spermiogenesis, where a special structure is called sperm.
Two kinds of sperms are generally produced: gymnosperms and angiosperms. Angiosperms contain Y sperms, while gymnosperms control X sperms. So, if sperms containing Y fertilize the egg, it will be a boy. But if sperms that have X fertilize the egg, it will be a girl.