When you cut or scratch yourself, why does sit eventually stop bleeding?

Which part of the blood is responsible?

Write your answer in complete sentences.