To form a salt compound, the acid contribute a NON METAL ION and the base contributes a METAL ION.
In chemistry, acid and base react together to form salt and water only. For the salt formed, the positive metal ion comes from the base while the negative non metal ion comes from the acid.