A sodium ion has a charge of +1
A chlorine ion has a charge of -1
These ions are bonded by electrostatic forces, by the principles rule that all opposites attract. So it looks like a one Na atom bonded to one Cl atom. Like a double scoop ice cream that's not stacked