Flexi Says: If pathogens get through the body’s first two lines of defense, a third line of defense takes over. This third line of defense involves the immune system. There are actually two types of immune responses: humoral and cell-mediated. Both types involve lymphocytes. However, one type of response involves B cells. The other type involves T cells.