PI is a group of disorders that cause your immune system to not work correctly, which makes it harder for your body to fight infections. There are more than 450 types of PI, and while they’re all different, they all affect the immune system. That's where treatment comes in—to help you fight infections..