The immune system helps your body recognize potentially harmful germs. These germs can include bacteria and viruses.