A condition where tissue similar to the lining inside the uterus grows outside of it, causing pain and infertility.