Vitamin K is needed for proper bone formation and blood clotting. In both cases, vitamin K does this by helping the body transport calcium. Vitamin K is used by doctors when treating an overdose of the drug warfarin. Also, doctors prescribe vitamin K to prevent excessive bleeding in people taking warfarin but requiring surgery.