What are the ionic compounds and how are they formed ?

Ionic compounds are also called electrovalent compounds. An ionic (or electrovalent) compound may also be defined as, The compound formed due to the transfer of electrons from the atom of those to that of another is called an ionic (or electrovalent) compound.