Lysosomes are membrane-bound organelles and the area within their membrane is known as the lumen, which generally contains hydrolytic enzymes and other cellular debris.
Lysosomes destroy microorganisms with the help of hydrolytic enzymes present in them.
For e.g. a macrophage engulfs the microorganism through phagocytosis after which fuses with lysosomes, in which the pathogen is destroyed by hydrolytic enzymes.
The key function of the lysosomes is the digestion & removal of waste.
Cellular debris or foreign particles are pulled into the cell via the process of endocytosis.
When macrophages phagocytose foreign particles, they comprise them inside a phagosome.
The phagosome will then bind with a lysosome to form a phagolysosome.
These enzymes are sensitive to oxygen-independent killing mechanisms.
Lysosomes also help to defend against pathogen entry via endocytosis by degrading pathogens before they attain the cytoplasm.