PID is an infection of the female reproductive organs, usually caused by untreated sexually transmitted infections (STIs). If left untreated, it can cause chronic pelvic pain and scarring of the fallopian tubes, leading to infertility or ectopic pregnancy.