Anticoagulants are substances that inhibit the coagulation of blood. They are commonly used in medicine to prevent thrombosis and in pest control, particularly against rodents. There are different types of anticoagulants, including vitamin K antagonists such as warfarin, and direct oral anticoagulants (DOACs) like dabigatran. They work by different mechanisms but ultimately prevent the formation of blood clots.