The immune system protects the body from possibly harmful substances by recognizing and responding to antigens. Antigens are substances (usually proteins) on the surface of cells, viruses, fungi, or bacteria. Nonliving substances such as toxins, chemicals, drugs, and foreign particles (such as a splinter) can also be antigens. The immune system recognizes and destroys, or tries to destroy, substances that contain antigens.