Vitamin B12 is a nutrient that helps keep your body’s blood and nerve cells healthy and helps make DNA, the genetic material in all of your cells. Vitamin B12 also helps prevent megaloblastic anemia, a blood condition that makes people tired and weak. Vitamin B12 is an essential vitamin that your body needs but cannot produce. It’s found only naturally in animal products.