The acids are known as gastric juices. These juices are usually kept in the stomach. A valve mechanism keeps the acids in the stomach. It prevents them from going up to the esophagus.