thanks for your query.
It could have been a missed miscarriage
, wherein the pregnancy failed and the tissue got expelled.
It could be that you are suffering from polycystic ovaries
, or endometrial hyperplasia
, wherein the lining of the uterus gets thickened, and then gets shed off, resembling a fleshy tissue.
Please consult a gynecologist for an ultrasound