Anticoagulants are medications that help prevent blood clots from forming. These drugs work by interfering with the blood clotting process, which can be crucial in managing various conditions, including cancer. Common types of anticoagulants include warfarin, heparin, and newer agents such as direct oral anticoagulants (DOACs).