The sex of a child is determined by the sex chromosomes. The mother always provides an X chromosome, while the father provides either an X (resulting in a female) or a Y (resulting in a male).