Ammonia is a Lewis base. It forms complexes with transition elements like Ag+,Cu2+ and Cd2+ while it does not form complex with Pb2+ because Pb is not a transition element. AgCl+2NH4OH→[Ag(NH3)2]Cl+2H2O CuSO4+4NH4OH→[Cu(NH3)4]SO4+4H2O CdSO4+4NH4OH→[Cu(NH3)4]SO4+4H2O