Similarities to the womb and placenta of female mammals indicate a response to common evolutionary challenges in pregnancy.