Rennin functions to

coagulate milk proteins, specifically casein, to form curds during the process of cheese making. It helps separate the curds from the whey, resulting in the formation of solid cheese. Rennin is an enzyme that is naturally found in the stomachs of young mammals, such as calves, and is also used in the production of vegetarian and microbial rennet for cheese making.