Opportunistic infections (OIs) are infections caused by pathogens, such as bacteria, viruses, fungi, or parasites, that take advantage of a weakened immune system. In the context of cancer, these infections are of particular concern because cancer and its treatments can severely impair the body's ability to fight off infections.