Pepsinogen is a proenzyme secreted by chief cells. It is converted into active form i.e pepsin by HCl. HCl provides the optimum pH for the enzyme pepsin. Once pepsin is formed it itself converts pepsinogen into pepsin. This proces is called autocatalysis.