what is the function of hcl secreted in the stomach
Gastric acid The highly acidic environment in the stomach lumen causes proteins from food to lose their characteristic folded structure (or denature). This exposes the protein's peptide bonds. The gastric chief cells of the stomach secrete enzymes for protein breakdown (inactive pepsinogen, and in infancy rennin). Hydrochloric acid activates pepsinogen into the enzyme pepsin, which then helps digestion by breaking the bonds linking amino acids, a process known as proteolysis. In addition, many microorganisms have their growth inhibited by such an acidic environment, which is helpful to prevent infection.
Gastrointestinal physiology The largest component of secreted fluids is ions and water, which are first secreted and then reabsorbed along the tract. The ions secreted primarily consist of H+, K+, Cl−, HCO3− and Na+. Water follows the movement of these ions. The GI tract accomplishes this ion pumping using a system of proteins that are capable of active transport, facilitated diffusion and open channel ion movement. The arrangement of these proteins on the apical and basolateral sides of the epithelium determines the net movement of ions and water in the tract.