Answer: Octet rule
Explanation: The elements which have filled s and p orbitals or noble gases are most stable and thus every element tends to get stable by completing their octet.
For example: Sodium [Na] has atomic no of 11 and thus the electronic configuration is : [tex]Na:1s^22s^22p^63s^1[/tex] tends to get stable by losing one electron and gets converted to [tex]Na^+[/tex]
Electronic configuration for [tex]Na^+:1s^22s^22p^6[/tex]
Thus acquiring stable configuration with filled s and p orbitals.
For example: Fluorine [F] has atomic no of 9 and thus the electronic configuration is : [tex]NF:1s^22s^22p^5[/tex] tends to get stable by gaining one electron and gets converted to [tex]F^-[/tex]
Electronic configuration for [tex]F^-:1s^22s^22p^6[/tex]
Thus acquiring stable configuration with filled s and p orbitals.