Which of the following best describes the function of vitamin B₁₂?