Why, along with digestive enzymes, the glands of the stomach secrete hydrochloric acid?

The main inorganic component of gastric juice is hydrochloric acid which performs a number of functions:
1) promotes denaturation and swelling of proteins in the stomach, which facilitates their subsequent cleavage with pepsins;
2) activates pepsinogens and turns them into pepsins;
3) creates an acidic environment necessary for the action of enzymes of gastric juice;
4) provides the antibacterial effect of gastric juice;
5) contributes to the normal evacuation of food from the stomach (opening of the pyloric sphincter from the stomach and closing from the 12th duodenal ulcer);
6) stimulates pancreatic secretion;
7) kills harmful microorganisms.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.