Halogens are in group 17. Halogens refer to the element, which can react with a metal and form a salt. Halogens react with other elements to be compounds easily, so they can happen neutually in compounds. They don’t occur as single element. They also can form compounds with other nonmetals. If you move down the group, you will find the reactive are getting less.