Salts are absolutely necessary for ordinary nerve- and muscular function. If you’ve ever sweated a lot without eating or drinking some salt solution you would notice your muscles start twitching, vibrating and cramping. After a while you can also notice getting light headed and blurry vision.
Source: Been in situations with plenty of water but no salt, and enormous amounts of sweat. Been in the same situations with access to salt for comparison.