What is the difference between ionic covalent and molecular compound?

Ionic compounds are compounds formed between a metal and a nonmetal

Covalent compounds are compounds formed between two nonmetals