Heparin is commonly used in clinical settings to manage conditions such as deep vein thrombosis (DVT), pulmonary embolism, and atrial fibrillation. It is also used during procedures like dialysis and open-heart surgery to maintain patency of catheters and during certain diagnostic tests to prevent clot formation.