What happens when a metal is treated with acid