A compound of acid and base can dissociate into its acidanions and basescations depending on its [[pKa|pKa] and pH values of its aqueous solution (dissociation conditions).
https://de.wikipedia.org/wiki/Salze (Wikipedia CC-by-sa-3.0)