Electrons that have the highest energy are valence electrons. This is because the electron(s) on the outer shell are further away from the attractive force of the nucleus (remember, the nucleus is positively charged as protons are positive and neutrons are neutral, and electrons are negatively charged). This means that electrons on the outer shell are easier to remove, and are more reactive.