In an organism's immune system, phagocytosis is a major mechanism used to remove pathogens and cell debris. For example, when a macrophage ingests a pathogenic microorganism, the pathogen becomes trapped in a phagosome which then fuses with a lysosome to form a phagolysosome.