Immune deficiencies can involve different parts of the immune system.
They can cause an individual to be more prone or susceptible to types of infections they normally would not be. They often tend to involve infections with bacterial, viral and fungal organisms depending on the type of immunity that is affected.
There are two general types of immune responses that can be affected, humoral or cell mediated. But in many individuals there can be quite a bit of overlap also.