When an acid reacts with a base, the hydrogen (H+) ions from the acid combine with the hydroxide (OH-) ions from the base to form water (H2O). The remaining positively charged ions (cations) from the base and the negatively charged ions (anions) from the acid form a salt.
For instance, when hydrochloric acid (HCl) reacts with sodium hydroxide (NaOH), the products are water and sodium chloride (NaCl). The sodium and chloride ions combine to form the salt, while the hydrogen and hydroxide ions combine to form water.
$$\text{HCl (aq)} + \text{NaOH(aq)} → \text{H}_2\text{O(l)} + \text{NaCl(aq)}$$
In this case, the resulting solution will be saltwater, as it contains sodium chloride dissolved in water. However, if the acid-base reaction involves different reactants that do not produce sodium chloride, the resulting solution will not be saltwater. For example, reacting sulfuric acid (H2SO4) with potassium hydroxide (KOH) will produce water and potassium sulfate (K2SO4), but not saltwater since there is no sodium chloride formation.
$$\text{H}_2\text{SO}_4 (\text{aq}) + 2\text{KOH}(\text{aq}) → \text{2H}_2\text{O (l)} + \text{K}_2\text{SO}_4 \text{(aq)}$$
Therefore, while acid-base reactions can produce salt and water, the resulting solution will only be saltwater if the reaction involves the formation of sodium chloride.