It is composed of silver ions (Ag+) and chloride ions (Cl-). Both silver and chlorine are nonmetallic elements. When these elements combine, they form an ionic compound, which is a compound composed of positively and negatively charged ions. Ionic compounds are typically nonmetallic in nature.