What is the function of hydrochloric acid present in the stomach?

What is the function of hydrochloric acid present in the stomach?