Ionic bonds form when electrons are transferred between metals and nonmetals, resulting in oppositely charged ions. Covalent bonds form when nonmetals share electrons in order to achieve a stable electron configuration. Ionic compounds have high melting points and conduct electricity well when melted but not solid, while covalent compounds have low melting points and generally do not conduct electricity or dissolve in water well.