PID? Help!

Is pid just from uncured STDs? Or other bacteria?