D-dimer is a biomarker used in medicine to diagnose and assess conditions related to blood clotting and thrombosis. It is a fragment of a protein called fibrin that is formed when blood clots break down in the body. D-dimer levels can be measured through a blood test.