Maintains nerve cell function and is important in the formation of red blood cells