Its on Google..."The group number of a representative element in the periodic table is related to the number of valence electrons it has. ... Elements of the halogen family lose one electron to become halide ions."
They are all examples of chemical formulas
Comparing the matter that makes up its different parts.
Hope this helps! ;)