And to add to that, if you are AuDHD like me and take stimulant meds, salt/electrolytes made a big difference for me since all the water I was drinking I just peed out. I use an unsweetened hydration powder once a day, and I no longer avoid adding salt to foods I make. That said I don't regularly eat many processed foods that have excessive amounts of salt, either.
My sodium levels were normal in blood tests, and are still normal even with this change, but I retain more water when I'm not able to drink a lot or not having enough access to a bathroom. But others may need to keep an eye on it, especially if you have heart risk factors, so ask your doctor.