The general electronic configuration of halogens is , where n = 2-6. Thus, halogens need only one more electron to complete their octet and to attain the stable noble gas configuration. Also, halogens are highly electronegative with low dissociation energies and high negative electron gain enthalpies. Therefore, they have a high tendency to gain an electron. Hence, they act as strong oxidizing agents.