Warfarin is an oral anticoagulant that works by inhibiting the synthesis of vitamin K-dependent clotting factors. It is commonly prescribed for the prevention and treatment of thromboembolic disorders such as deep vein thrombosis, pulmonary embolism, and atrial fibrillation.