Immunodeficiency (HP_0002721) is failure of the immune system to protect the body adequately from infection, due to the absence or insufficiency of some component process or substance. Also known as: Decreased immune function, Immune deficiency.