Assertion :In the formation of a molecule, only the outer shell electrons take part in chemical combination and they are known as valence electrons. Reason: Atoms achieve the stable octet when they are linked by chemical bonds.
As atoms unite together they gain, lose or share electrons in such a way that the outer shells become chemically complete. Electrons in the outermost shell are called valence electron.
An atom is said to be stable when it has eight valence electrons (two in the case of hydrogen). This configuration is known as an octet. Hence atoms without octet configuration share their valence electrons with other atoms so that they each will have an octet (or duet in the case of hydrogen) and become stable. This apportions of valence electrons is known as covalent bonding. The valence electrons are in the outermost energy shell.
So the correct option is B.