How can the uterus hold a developing fetus?
The cervix (opening) is closed and the uterus filled with liquid the fetus float around in. It's attached with the umbilical cord to the placenta which is attached to the uterus wall. The uterus expands as the pregnancy progress.