Heparin is an anticoagulant that prevents blood clotting by inhibiting clot formation. It enhances the activity of antithrombin III, which helps manage and reduce the risk of complications associated with clots. Thus, heparin is used primarily to prevent rather than assist in clotting. ;