Generally, females have two X chromosomes in their pair, while males have one X and one Y chromosome. A gene on the Y chromosome is responsible for the cascade of developmental events that cause bodies and brains to take on male characteristics.