Any pee or poop that a baby passes in the womb generally goes into the amniotic fluid. Fetal urine plays an essential role in keeping amniotic fluid at healthy levels, which is necessary for the proper development of the lungs and the overall health of the baby.