Hydrochloric acid is normally secreted in our stomach by specialized cells in response to food intake. It is an important constituent of digestive juices. Its functions include: 1. Activation of protein digesting enzyme. 2. Acts as protection against bacteria. 3. Provides acidic medium for digestion and absorption of certain nutrients.