In the higher stages of endometriosis, Th17 cells cause cyclooxygenase 2 induction, inflammation and cell adhesion. This evidence concerns the gene PTGS2 and endometriosis.