Macrophages are able to detect products of bacteria and other microorganisms using recognition receptors such as Toll-like receptors (TLRs).
These receptors can bind specifically to different pathogen components like sugars, RNA, DNA or extracellular proteins (for example, flagellin from bacterial flagella)
Macrophages can also present antigens to T cells and initiate inflammation by releasing molecules (known as cytokines) that activate other cells