Pelvic inflammatory disease or PID is an infection caused by bacteria, when bacteria from the vagina travel to your womb or fallopian tubes or ovaries, they can cause an infection.