This document summarizes the molecular mechanisms of sex determination in Drosophila and humans. In Drosophila, sex is determined by the ratio of X chromosomes to autosomes (X:A ratio). A ratio greater than 1 leads to female development, while a ratio of less than 1 leads to male development. In humans, the presence of the SRY gene on the Y chromosome leads to testis development and a male phenotype, while its absence leads to ovarian development and a female phenotype. Key genes involved include Sxl, tra, and dsx in Drosophila, and SRY, Sox9, and FGF9 in humans. The document provides details on how these genes regulate downstream targets to control sexual differentiation in both organisms.