Sodium chloride (NaCl) is the ionic substance. It is composed of sodium ions (Na\(^+\)) and chloride ions (Cl\(^-\)), which are held together by ionic bonds. On the other hand, sucrose (C\({12}\)H\({22}\)O\(_{11}\)), commonly known as sugar, is a covalent compound, made up of molecules formed by covalent bonds between carbon, hydrogen, and oxygen atoms.
So, the answer is NaCl (sodium chloride).