Endometriosis is a condition in which tissue similar to the lining inside the uterus grows outside of it, causing pain, inflammation, and sometimes infertility. It commonly affects the ovaries, fallopian tubes, and the tissue lining the pelvis. The exact cause of endometriosis is unknown, but it can lead to severe pain during menstruation and sexual intercourse.