How does the immune system work? The immune system defends our bodies by detecting, attacking, and removing viruses, bacteria and other foreign organisms. White blood immune cells fight viral ...