Describe the nature of compounds formed when chlorine, bromine, and iodine react with metals and non-metals.
a. Ionic compounds
b. Molecular compounds
c. Covalent compounds
d. Metallic compounds