The hydrochloric acid present in our stomach dissolves bits of food and creates an acidic medium. In this acidic medium, enzyme pepsinogen is converted to pepsin, which is a protein-digesting enzyme.
It also kills many bacteria and other microorganisms that enter alongwith the food.