A salt is obteind as a reaction between

an acid and a base.

metallic oxide + non-metallic oxide.