Beyond XX and XY

“Humans are socially conditioned to view sex and gender as binary attributes. From the moment we are born—or even before—we are definitively labeled “boy” or “girl.” Yet science points to a much more ambiguous reality. Determination of biological sex is staggeringly complex, involving not only anatomy but an intricate choreography of genetic and chemical factors that unfolds over time. Intersex individuals—those for whom sexual development follows an atypical trajectory—are characterized by a diverse range of conditions, such as 5-alpha reductase deficiency (highlighted in graphic below). A small cross section of these conditions and the pathways they follow is shown here. In an additional layer of complexity, the gender with which a person identifies does not always align with the sex they* are assigned at birth, and they may not be wholly male or female. The more we learn about sex and gender, the more these attributes appear to exist on a spectrum.”

https://www.scientificamerican.com/article/beyond-xx-and-xy-the-extraordinary-complexity-of-sex-determination