👉 In chemistry, a perhalogen is an element that has two valence electrons and can form bonds with other elements. These bonds are known as halogens (Hg, Hf, etc.). The number of valence electrons in each halogen determines its electron configuration. For example, the halogen Hg has three valence electrons, while the halogen Hf has four.