Thiamin, also known as vitamin B1, was the first of the B vitamins to be discovered and plays a leading role in many bodily functions. Thiamin is necessary for the proper functioning of the nervous system and muscles. It helps produce energy from the food you eat.