Reaction of acid and bases with metals