A vitamin B12 (cobalamin) test measures the concentration of this water-soluble vitamin in blood serum. It plays a crucial role in the formation of healthy red blood cells, in cell metabolism, in the function of the nervous system (where it is involved in myelin formation), and in DNA synthesis. It is absorbed in the intestines with the help of intrinsic factor secreted by the stomach.