Hi Student
The Group 7 elements are also known as the halogens. They include fluorine, chlorine, bromine and iodine, which all have seven electrons in their outer shell i.e They only need one more electron, making eight, to have stability, so they try their absolute hardest to get it.
This high reactivity is due to the high electronegativity of the atoms due to their high effective nuclear charge. They can gain an electron by reacting with atoms of other elements.