The document provides an overview of the key mechanisms of the immune system. It describes the innate immune system which provides the first line of defense through physical, chemical, and cellular barriers. The innate system includes phagocytic cells like macrophages and neutrophils that ingest pathogens, as well as natural killer cells, complement proteins, toll-like receptors, and inflammation. The adaptive immune system then provides long-lasting immunity through targeted B cells and T cells, antibodies, and memory cells. B cells produce antibodies, while T cells identify and destroy infected cells. Together the innate and adaptive immune systems protect the body from invading pathogens.