CYP19A1 and endometriosis: This may be due to the immunomodulatory and anti-inflammatory effects of calcium and vitamin D. Vitamin D inhibits the activity of the aromatase enzyme in endometrial cells involved in endometriosis, thereby reducing local oestrogen production and promoting apoptosis of abnormal cells.