Significant differences in immune cell infiltration were observed, with increased CD8 T cells, cytotoxic cells, and others in endometriosis. Here, CD8A is linked to endometriosis.