Immunological disorder in which some part of the body's immune system is inadequate and resistance to infectious diseases is reduced