In Drosophila, sex determination is achieved by a balance of female determinants on the X chromosome and male determinants on the autosomes.Thus, XO Drosophila are sterile males. In flies, the Y chromosome is not involved in determining sex. Rather, it contains genes active in forming sperm in adults.