What is the mechanism of action of heparin in medical surgical emergency

Heparin is an anticoagulant medication that works by inhibiting the activity of certain clotting factors in the blood, specifically thrombin and factor Xa. This prevents the formation of blood clots and helps to prevent the extension of existing blood clots. Heparin also has anti-inflammatory properties which can help reduce inflammation associated with blood clots and other conditions. In a medical surgical emergency, heparin may be used to prevent or treat blood clots that can occur during surgery or due to certain medical conditions.