Valence electrons are the key to an atom's reactivity. Atoms tend to gain, lose, or share valence electrons to achieve a stable electron configuration, usually resembling that of noble gases.