Can anyone help?

Taranq

I just got my period after 45 days , and this thing came out from me. I have never experienced such weird thing coming out. One of my friend said this is just endometrium ,and other one said this is miscarriage. I have not tested for pregnancy ,so not sure about it. Please help me understanding this.