The immune system protects the body from foreign invaders. It has two types of immunity: innate immunity which is present at birth, and adaptive immunity which develops after birth upon exposure to antigens. The immune system uses physical barriers, chemical barriers, white blood cells, and inflammation to fight pathogens. It has three lines of defense - phagocytic response, humoral response involving antibodies, and cellular response using T cells. The immune response involves recognition of antigens, proliferation of lymphocytes, production of antibodies or T cells, and these effectors destroying the pathogen.