Halogens are a group of five highly reactive nonmetal elements in the periodic table, including fluorine (F), chlorine (Cl), bromine (Br), iodine (I), and astatine (At). They are known for their strong tendency to gain electrons and form compounds with other elements.