Why is d and c necessary?

A dead body produces bacteria that could cause a infection. If you leave a decomposing fetus in a body the bacteria could cause a infection in the uturus that could lead to infertility or death if not treated immediatly.