Vitamin B12 is an essential nutrient that plays an important role in red blood cell formation, nerve function, and DNA production. Since vitamin B12 is naturally found mainly in animal-based foods, vegetarians and especially vegans need to pay attention to where they get this nutrient.