Miscarrying at 5 weeks

Is this something of the baby? I’ve been spotting for a few days and this just came out of me. Sorry for graphic photo