Covalent bonds form between nonmetal atoms by sharing valence electrons. Atoms share electrons to attain stable electron configurations like noble gases. Lewis structures show how valence electrons are arranged between bonded atoms. To draw Lewis structures, count the total valence electrons and distribute them to form single or double bonds between atoms until each atom has an octet of electrons. Examples of molecules held by covalent bonds are hydrogen, oxygen, and chlorine.