TMI: What is this??? *UPDATE*

I don't know what this is, but it hurt when it came out. help.

This happened August 22nd. I don't have it anymore. I had a period that started July 19th and ended August 28th.********* this indeed was a miscarriage.