It also protects against the same pathogen in the future
White blood cells
Can ingest and destroy pathogens by detecting chemicals released by pathogens and uses enzymes to destroy it - Phagocytosis.
Certain types of white blood cells calledlymphocytes produce antibodies which are protein molecules, They stick to the pathogens which triggers the pathogen to be destroyed. Antibodies are specific.
Can produce antitoxins which stick to toxins to prevent them from damaging cells.