Sodium is also necessary for stomach-, nerval-, and muscle functions. Sodium deficiency is rare. Since most people get too much sodium because of the high content of salt hidden in food, potassium deficiency is much more common. It is important to find the right balance between these two minerals.
Also see the article on salt here