Define valency and valence shell.
The number of electrons gained, lost or shared so as to complete the octet of electrons in the outermost shell, gives us the combining capacity of the element, i.e. the valency.
Outermost shell of an atom is called the valence shell.