Chemical bonds form as atoms seek stability by filling their outer electron shells. Atoms can gain or lose electrons to form ions, or share electrons in covalent bonds. Covalent bonds occur when atoms share valence electrons to fill their octets. A single bond shares one pair of electrons, a double bond shares two pairs, and a triple bond shares three pairs. Lewis dot structures use dots to represent valence electrons and show how atoms bond to fill their octets. Molecules like methane, oxygen, nitrogen, water, carbon dioxide, and carbon monoxide can be represented using Lewis dot structures.