A metal and non metal favor the formation of ionic compounds from element. ionic compounds are formed when between metal and non metal because metal has ability to loss electrons and net positive charge ion to form cation while non metal has ability to gain electrons .form anion and net negative charge ion.