Lack of immunity can be caused by several factors. Some individuals may have genetic disorders that result in an impaired immune system. Others may acquire immunodeficiency through conditions like HIV/AIDS or through treatments such as chemotherapy, which can weaken the immune system. Age can also be a factor; both the very young and the very old often have weaker immune systems.