What is the main function of the immune system?

A. to circulate blood cells
B. to destroy pathogens
C. to secrete tears
D. to keep the skin moist