These DEGs may play an important role in the occurrence of endometriosis, including the infertility associated gene ARNTL and PIWIL2, tissue remodeling gene MMP11, cell survival and migration gene FLT1, inflammatory response gene GNLY, the tumor suppressor genes PLCD1, etc. Further analysis suggested the function of adhesion is stronger in ectopic endometrial cells than in eutopic endometrial cells, while the ectopic endometrium may have a higher potential risk of malignant transformation than eutopic endometrium. This evidence concerns the gene PIWIL2 and endometriosis.