These acids, or gastric juices, are usually confined to the stomach, where they are blocked from going up to the esophagus by a valve mechanism.