The correct option is A a metal cation and a non-metal anion
Ionic compound is formed by the metal cation and a non-metal anion.
Example:
Na+ is cation formed from the Na metal by the removal of 1 electron.
Whereas Cl− anion is formed from the Cl non-metal by gaining one electron, then by electrostatic force of attraction these combine to form a ionic compound.