What is this? TMI graphic photo.

I'm sorry but what the heck is this? I keep passing stuff like this. I miss my period for a month or two and I get the worst periods that last almost a month. And I keep passing this kind of stuff. This has happened now twice. Does anyone know?