Chemical bonding is the process by which atoms combine to form molecules. The primary goal in bonding is to attain a stable electron configuration. To understand a molecule's stability and reactivity, you must first comprehend its bonding.
Atoms form bonds in several ways, including ionic, covalent, and metallic bonding, but for organic molecules like the ones in the exercise, covalent bonding is the main focus. In covalent bonds, atoms share electrons to fulfill the octet rule, which states that atoms are the most stable when they have eight electrons in their valence shell.
In the given examples,
we see covalent bonding between carbon (C) and hydrogen (H) atoms and between carbon atoms themselves. The presence of charges (+/-) in the molecules directly affects the electron count, influencing how many bonds each atom must form to achieve a stable configuration.