In chemistry it refers to the electrons in the outer most shell f an element.These electrons take part in bonding e.g(Hydrogen,it has one valence electron).The group number of an element on the periodic table,is also the valency number of the element in that group e.g(Group 7 elements have a valency of 7)