Valency is the combining capacity of an element, typically the number of electrons an atom needs to gain, lose, or share to form a chemical bond and achieve a stable electron configuration.