Helper T cells play a key role in cell-mediated immunity by activating other immune cells such as B cells and cytotoxic T cells. When a macrophage or dendritic cell engulfs and displays antigens from an invading pathogen on its surface, it activates matching helper T cells. Once activated, helper T cells secrete cytokines that stimulate B cells to produce antibodies and activate cytotoxic T cells to destroy infected cells. Both cell-mediated and antibody-mediated immunity then work together to eliminate pathogens from the body. Memory cells are also generated to facilitate a faster response upon future encounters with the same pathogen.