The stomach is protected from its own acid by several mechanisms. The mucous cells in the stomach lining secrete a thick layer of mucus that acts as a barrier. Additionally, bicarbonate ions are secreted to neutralize any acid that comes into direct contact with the stomach epithelium. The tight junctions between epithelial cells prevent the backflow of gastric acid into the tissue.