The process by which blood thickens to stop bleeding.

Blood clotting, also known as coagulation, is a vital process that stops excessive bleeding when a blood vessel is damaged. It occurs when platelets and proteins in plasma work together to form a clot over the injury.

Source:

https://www.blood.co.uk/news-and-campaigns/the-donor/latest-stories/functions-of-blood-clotting