how can a salt be related to a particular acid and a particular base

1 answer

acid + base ==> salt + H2O

The cation of the salt comes from the base and the anion comes from the acid.
For example, NaCl: Na comes from NaOH and Cl comes from HCl.
Na2SO4: Na comes from NaOH and SO4 comes from H2SO4.