Vitamin B12 injections, also known as cobalamin, are essential for many roles in your body. Its primary function is to help cells form and metabolize properly. It also plays a role in brain function, supporting neurons and cell formation. It is necessary for DNA synthesis and red blood cell formation. Vitamin B12 is one of the eight B vitamins, which are essential in maintaining cell health.