each egg that a female produces has a single X chromosome in it & each sperm that a male produces has either an X or a Y chromosome within it. if a sperm with a Y chromosome fertilizes an egg, the offspring will be male & if a sperm with an X chromosome fertilizes the egg, the offspring will be female