Answer:
The sodium atom is left with a full outermost electron shell with eight electrons, and the outermost shell of the other atom is full as well.
Step-by-step explanation:
The sodium atom now has a positive electrical charge of plus 1, and the other atom has a negative charge of minus 1. The two opposite charges attract, and the two atoms now form the molecule of a compound.