An enzyme secreted by cells lining the stomach in mammals that is responsible for clotting milk. It acts on a soluble milk protein (caseinogen), which it converts to the insoluble form casein. This ensures that milk remains in the stomach long enough to be acted on by protein-digesting enzymes.