Macrophages play an important role in providing immunity. They act as scavengers and help destroy any foreign organism that enters the body by phagocytosis. They also help in antigen presentation and thereby help activate the lymphocytes of the immune system, thus activating the immune response mechanism.