Sex chromosomes are the chromosomes that decide whether a person is male or female.Humans have two sex chromosomes: X and Y.Girls have XX, while boys have XY.The father’s sperm decides the baby’s sex:If it gives an X, the baby is a girl (XX).If it gives a Y, the baby is a boy (XY).This process is called sex determination, and it happens when the egg and sperm join.In short, sex chromosomes (X and Y) are responsible for determining a person's biological sex.