The immune system protects the body from pathogens and cancer cells. It contains nonspecific defenses that provide immediate protection and specific defenses that adapt over time. Nonspecific defenses include physical barriers and inflammatory responses, while specific defenses recognize and remember pathogens through B cells, T cells, antibodies, and memory cells. The document defines and compares these defenses.