Vitamin B12 is essential for energy production in the body and is involved in the formation of red blood cells. A deficiency can lead to fatigue and weakness.