Chemical bonds are formed when atoms lose, gain, or share valence electrons to acquire an octet of eight valence electrons (octet rule). Covalent bonds occur when nonmetal atoms share electrons to attain a noble gas arrangement. Microeconomics Chapter 9