Endometriosis is a common condition that affects women during the reproductive years. It occurs when tissue similar to the uterine lining (endometrium) attaches to organs in the pelvis and begins to grow. This displaced endometrial tissue causes irritation in the pelvis that may lead to pain and infertility.