Human sex determination relies on sex chromosomes. Males possess XY chromosomes, while females have XX. The father contributes either an X or Y chromosome; the mother contributes an X.
A child inheriting an X from both parents is female (XX).
An X from the mother and a Y from the father results in a male (XY). Thus, parental genes (X and Y chromosomes) dictate the child's sex.