Which describes the difference between ionic and covalent bonds? A. An ionic bond forms when oppositely charged ions are attracted to each other; covalent bonds are formed when metals share one or more pairs of electrons. B. An ionic bond forms when oppositely charged ions are attracted to each other; covalent bonds are formed when nonmetals share one or more pairs of electrons. C. An ionic bond forms when molecules with like charges are attracted to each other; covalent bonds are formed when metal compounds share one or more pairs of electrons. D. An ionic bond forms when molecules of opposite charges are attracted to each other; covalent bonds are formed when nonmetal compounds share one or more pairs of electrons.