In chemistry, rule stating that elements combine in a way that gives them the electronic structure of the nearest noble gas (rare gas). The joining together of elements to form compounds is called bonding. All the noble gases except helium have eight electrons in their outermost shell, hence the term octet.