Oxyntic cells secrete concentrated HCl and intrinsic factor. Intrinsic factor plays an important role in the absorption of the vitamin B12. HCl is used to activate the proenzyme pepsinogen.
Damage to oxyntic cells
The damage to oxyntic cells of gastric glands will result in pernicious anaemia because oxyntic cells secrete intrinsic factors that are essential for the absorption of vitamin B12. If any damage happens to these cells then vitamin B12 will not be absorbed by the body, which will cause deficiency of B12 and will lead to pernicious anaemia.