- The bacterium binds to the membrane and the phagocyte extends cytoplasmic projections, pseudopodia, that surround it.
- The bacterium is phagocytosed, forming a phagosome.
- The phagosome fuses with a lysosome to form the phagolysosome (many bacteria avoid this fusion, preventing the digestive substances from acting).
- The lysosomal enzymes digest the phagocytosed material.
- The digested products are presented on the outside of the cell.

When a phagocytic cell such as a macrophage interacts with a microorganism at its membrane, it forms pseudopodia that surround the microorganism and form a phagosome. Under normal conditions the phagosome fuses with the primary lysosomes, which are full of hydrolytic enzymes, forming the phagolysosome. This is the key point. However, there are intracellular microorganisms, such as Mycobacterium tuberculosis, that prevent the formation of the phagolysosome, so the bacterium remains alive inside the phagosome.
- Pulmonary tuberculosis. The macrophage takes up a pathogen but is unable to destroy it. However, it is activated (in a permanent state of activation) and produces cytokines, which attract cells to the place where it is located. Neutrophils, NK cells, etc. (activated macrophages) appear and surround the infected macrophage. So the infected macrophage does not manage to break down the pathogen, but it releases cytokines, which cause it to become surrounded by other macrophages, neutrophils and Th lymphocytes. Because the macrophage secretes IL-12, it makes the Th lymphocyte differentiate into Th1, and this whole structure is called a granuloma.
- GRANULOMA (tuberculoma): a focus centred on a group of infected macrophages, surrounded by T cells and more macrophages.

Under normal conditions, this structure, typical of inflammation, prevents the microorganism from spreading (from escaping to the outside) but does not kill it. In the central area, because of the large production of cytokines (TNF, IL-1 and IL-6), the central tissue breaks down in a process called caseation (which has a structure similar to yoghurt or melted cheese).
Over time, this lesion may calcify (it can be seen on X-rays). The problem is that, in older patients, a vessel may rupture when they cough and, if the granuloma ruptures, the microorganisms it contained (still alive) can be released to the outside. This is how the infection used to be passed from grandparents to grandchildren, and it might or might not cause problems.
This is caused by an ineffective immune response, although it does manage to contain the infection.