Answer:
Viruses and bacteria helps to build up our immune system, specifically our adaptive immune response such that we will be able to eliminate such pathogens when our body comes into contact with them. This builds up the resilience of our immune system over time, similar to how vaccines work.