The X and Y chromosomes, also known as the sex chromosomes, determine the biological sex of an individual: females inherit an X chromosome from the father for a XX genotype, while males inherit a Y chromosome from the father for a XY genotype (mothers only pass on X chromosomes).
Source: genome.gov if you wanna read it all
Now my friend. Explain how other genders work.