รงhttps://www.sciencedirect.com/science/article/abs/pii/S1521690X07000334 zptofessor Dick F. Swoob

During the intrauterine period the human brain develops in the male direction via direct action of a boy's testosterone, and in the female direction through the absence of this hormone in a girl. During this time, gender identity (the feeling of being a man or a woman), sexual orientation, and other behaviors are programmed. As sexual differentiation of the genitals takes places in the first 2 months of pregnancy, and sexual differentiation of the brain starts during the second half of pregnancy, these two processes may be influenced independently of each other, resulting in transsexuality. This also means that in the case of an ambiguous gender at birth, the degree of masculinization of the genitals may not reflect the same degree of masculinization of the brain. Differences in brain structures and brain functions have been found that are related to sexual orientation and gender.

https://www.sciencedirect.com/science/article/abs/pii/B978044453630300004X

t is believed that during the intrauterine period the fetal brain develops in the male direction through a direct action of testosterone on the developing nerve cells, or in the female direction through the absence of this hormone surge. According to this concept, our gender identity (the conviction of belonging to the male or female gender) and sexual orientation should be programmed into our brain structures when we are still in the womb. However, since sexual differentiation of the genitals takes place in the first two months of pregnancy and sexual differentiation of the brain starts in the second half of pregnancy, these two processes can be influenced independently, which may result in transsexuality. This also means that in the event of ambiguous sex at birth, the degree of masculinization of the genitals may not reflect the degree of masculinization of the brain.

\\\
https://www.sciencedirect.com/science/article/abs/pii/S0149763403000058

Brain development is a remarkable process. Progenitor cells are born, differentiate, and migrate to their final locations. Axons and dendrites branch and form important synaptic connections that set the stage for encoding information potentially for the rest of life. In the mammalian brain, synapses and receptors within most regions are overproduced and eliminated by as much as 50% during two phases of life: immediately before birth and during the transitions from childhood, adolescence, to adulthood. This process results in different critical and sensitive periods of brain development. Since Hebb (1949) first postulated that the strengthening of synaptic elements occurs through functional validation, researchers have applied this approach to understanding the sculpting of the immature brain. In this manner, the brain becomes wired to match the needs of the environment. Extensions of this hypothesis posit that exposure to both positive and negative elements before adolescence can imprint on the final adult topography in a manner that differs from exposure to the same elements after adolescence. This review endeavors to provide an overview of key components of mammalian brain development while simultaneously providing a framework for how perturbations during these changes uniquely impinge on the final outcome. \\\\\\\\

Sexual differentiation of the human brain in relation to gender identity and sexual orientation. Swaab, D.F.; Garcia-Falgueras, A. published in Functional Neurology 2009

https://pure.knaw.nl/ws/portalfiles/portal/5305590/FunctNeurol09Swaab.pdf (This article is very good.You can read the entire thing without a pay wall.