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).