A vitamin B-12 level test determines the amount of vitamin B-12 in the blood or urine in order to determine the body’s total vitamin B-12 stores. Vitamin B-12 is required for a variety of bodily functions, including nerve function and the production of DNA and red blood cells.