Gastric acidGastric acid, gastric juice, or stomach acid is a digestive fluid formed within the stomach lining. With a pH between 1 and 3, gastric acid plays a key role in digestion of proteins by activating digestive enzymes, which together break down the long chains of amino acids of proteins. Gastric acid is regulated in feedback systems to increase production when needed, such as after a meal. Other cells in the stomach produce bicarbonate, a base, to buffer the fluid, ensuring a regulated pH.