what determines the sex of the organism?
 XX mammals are female and XY are male. In humans, biological sex is determined by five factors present at birth: the presence or absence of a Y chromosome, the type of gonads, the sex hormones, the internal reproductive anatomy, and the external genitalia. 