What is the process called when baby in womb turns from a girl into boy or girl?

There's no process where a baby in the womb turns from a girl to a boy or vice versa. Sex is determined at conception.

Here's how it works:

* Chromosomes: Every human has 23 pairs of chromosomes. One pair, the sex chromosomes, determines whether a person is biologically male or female.

* XX vs. XY: Females have two X chromosomes (XX), while males have one X and one Y chromosome (XY).

* Sperm: The sperm carries either an X or a Y chromosome.

* Egg: The egg always carries an X chromosome.

* Fertilization: If the sperm carries an X chromosome, the baby will be female (XX). If the sperm carries a Y chromosome, the baby will be male (XY).

Therefore, the sex of a baby is determined by the sperm at the moment of fertilization. There is no "turning" from one sex to another during pregnancy.

It's important to note that while biological sex is determined at conception, gender identity is a separate and complex concept that is not solely determined by biology. Gender identity is how someone feels about their own gender, which may or may not align with their sex assigned at birth.