Sodium citrate acts as an anticoagulant by binding to calcium ions in the blood, and it is used for coagulation tests such as prothrombin time (PT) and activated partial thromboplastin time (aPTT).