Vaccination: all natural but without the illness
We encounter a bacteria or virus, develop the disease, and after recovery, we find we have acquired some immunity to that agent. But the catch is that you need to suffer and survive the illness to get the benefit.