please don't take this offensively I'm honestly just really curious!!!

In an early miscarriage, what do doctors usually do with the baby?? For example if it's around 15-18 weeks on... please don't take offense to this.. I'm very curious to know..