Hydrochloric acid, is essential for digestion and is an inorganic acidic compound excreted by the stomach. Stomach acid is required…