Cell-mediated immunity, also known as cellular immunity, is one of the two types of the adoptive immune system inside the body. It is mostly responsible for fighting microbes and antigens or foreign substances inside the cells. The T lymphocytes, or thymus-derived lymphocytes, are a key part of cell-mediated immunity.