The stomach lining contains special cells that produce acid and enzymes. These help break down food for digestion. The lining also creates mucus, which protects the stomach lining from acid. When the stomach lining is inflamed, it produces less acid, enzymes and mucus.