Study of conditions where the immune system is compromised, leading to increased susceptibility to infections.