Context: Elements form compounds when they combine chemically. Their atoms join together to form molecules, crystals, or other structures. The atoms are held together by chemical bonds. A chemical bond is a force of attraction between atoms or ions. It occurs when atoms share or transfer valence electrons. Valence electrons are the electrons in the outer energy level of an atom. You can learn more about chemical bonds in this video: MEDIA Click image to the left or use the URL below. URL: Look at the example of water in Figure 7.1. A water molecule consists of two atoms of hydrogen and one atom of oxygen. Each hydrogen atom has just one electron. The oxygen atom has six valence electrons. In a water molecule, two hydrogen atoms share their two electrons with the six valence electrons of one oxygen atom. By sharing electrons, each atom has electrons available to fill its sole or outer energy level. This gives it a more stable arrangement of electrons that takes less energy to maintain. Water (H2 O) is an example of a chemical compound. Water molecules always consist of two atoms of hydrogen and one atom of oxygen. Like water, all other chemical compounds consist of a fixed ratio of elements. It doesnt matter how much or how little of a compound there is. It always has the same composition. Elements are represented by chemical symbols. Examples are H for hydrogen and O for oxygen. Compounds are represented by chemical formulas. Youve already seen the chemical formula for water. Its H2 O. The subscript 2 after the H shows that there are two atoms of hydrogen in a molecule of water. The O for oxygen has no subscript. When there is just one atom of an element in a molecule, no subscript is used. Table 7.1 shows some other examples of compounds and their chemical formulas. Name of Compound Electron Dot Diagram Numbers of Atoms Chemical Formula Name of Compound Hydrogen chloride Electron Dot Diagram Numbers of Atoms H=1 Cl = 1 Chemical Formula HCl Methane C=1 H=4 CH4 Hydrogen peroxide H=2 O=2 H2 O2 Carbon dioxide C=1 O=2 CO2 Problem Solving Problem: A molecule of ammonia consists of one atom of nitrogen (N) and three atoms of hydrogen (H). What is its chemical formula? Solution: The chemical formula is NH3 . You Try It! Problem: A molecule of nitrogen dioxide consists of one atom of nitrogen (N) and two atoms of oxygen (O). What is its chemical formula? The same elements may combine in different ratios. If they do, they form different compounds. Figure 7.2 shows some examples. Both water (H2 O) and hydrogen peroxide (H2 O2 ) consist of hydrogen and oxygen. However, they have different ratios of the two elements. As a result, water and hydrogen peroxide are different compounds with different properties. If youve ever used hydrogen peroxide to disinfect a cut, then you know that it is very different from water! Both carbon dioxide (CO2 ) and carbon monoxide (CO) consist of carbon and oxygen, but in different ratios. How do their properties differ? There are different types of compounds. They differ in the nature of the bonds that hold their atoms together. The type of bonds in a compound determines many of its properties. Three types of bonds are ionic, covalent, and metallic bonds. You will read about these three types in later lessons. You can also learn more about them by watching this video: (7:18). MEDIA Click image to the left or use the URL below. URL: Chocolate: Its been revered for millennia by cultures throughout the world. But while its easy to appreciate all of its delicious forms, creating this confection is a complex culinary feat. Local chocolate makers explain the elaborate engineering and chemistry behind this tasty treat. And learn why its actually good for your health! For more information on the science of chocolate, see [Link] . MEDIA Click image to the left or use the URL below. URL: 
 Question: force of attraction between atoms or ions that share or transfer electrons
Output: chemical bond