Vitamin B1, or thiamin, helps prevent complications in the nervous system, brain, muscles, heart, stomach, and intestines. It is also involved in the flow of electrolytes into and out of muscle and nerve cells. It also is sometimes called an “anti-stress” vitamin because it may strengthen the immune system and improve the body’s ability to withstand stressful conditions.