Pepsin is an endopeptidase that breaks down proteins into smaller peptides. It is produced in the gastric chief cells of the stomach lining and is one of the main digestive enzymes in the digestive systems of humans and many other animals, where it helps digest the proteins in food.

It is one of three principal proteases in the human digestive system, the other two being chymotrypsin and trypsin. During the process of digestion, these enzymes, each of which is specialized in severing links between particular types of amino acids, collaborate to break down dietary proteins into their components, i.e., peptides and amino acids, which can be readily absorbed by the small intestine.

More Info: en.wikipedia.org