A sex-determination system is a biological system that determines the development of sexual characteristics in an organism. Most sexual organisms have two sexes. In many cases, sex determination is genetic: males and females have different alleles or even different genes that specify their sexual morphology. In animals, this is often accompanied by chromosomal differences.