Females typically have the XX sex chromosome and males have XY. Each sperm consists of either an X or a Y chromosome, so the father's contribution determines the sex of the offspring.