Answer
Valency is the combining capacity of an element, indicating the number of electrons an atom will gain, lose, or share to achieve a stable electron configuration (usually a full outermost shell). It is determined by the number of electrons in the outermost shell (valence electrons); atoms tend to react to achieve an octet (or duet for hydrogen/helium).