Every atom has an outer ring where electrons live, and atoms feel happiest when that ring is full. Trouble is, most atoms are a little short or have one too many. So they team up. Sometimes one atom just hands an electron to another, like sodium giving its spare to chlorine, and then the two, now charged, snap together into salt. Other times two atoms each grab one end of a shared pair and hold on, like two hands clasping the same rope: that's how hydrogen sticks to hydrogen, and how water gets built. Either way, sticking together fills the ring. Flip between giving and sharing in the simulator and watch the rings fill up.
Most people think atoms are tiny sticky balls that simply cling together. In fact nothing about an atom is sticky. Bonding happens only because atoms swap or share electrons to fill their outer shell, and that filling is what holds them.
What's actually happening
A common picture of chemistry is that atoms are sticky little balls, but nothing about an atom is sticky. What drives bonding is electrons, and specifically the outermost ones. Electrons sit in shells around the nucleus, and an atom behaves as if it desperately wants its outer shell either full or empty — eight electrons is the comfortable number for most of the small atoms in everyday life. A lone sodium atom carries a single spare electron rattling around in an otherwise empty outer shell; a chlorine atom is one electron short of a full set of eight. Neither is content on its own.
The fix can go two ways. In the first, the atom with the spare simply gives it away. Sodium hands its one loose electron to chlorine; now chlorine has its full eight and sodium has shed its odd one out. But that transfer leaves sodium with one more proton than electron, a positive charge, and chlorine with one extra electron — a negative charge. Opposite charges pull, hard, and the two snap together into a tidy grid of alternating plus and minus. That grid is table salt, and the pull holding it is an ionic bond. In the second way, neither atom is willing to give an electron up, so they compromise and share. Two hydrogen atoms each bring one electron to the middle and both lay claim to the shared pair, so each now feels like it has a full little shell. That shared pair is a covalent bond, and stacking up shared pairs builds everything from the hydrogen in a balloon to the water in your glass, where one oxygen shares a pair with each of two hydrogens.
Which path an atom takes comes down to how strongly it tugs on electrons, and that one difference quietly sorts the material world. Strong tug versus weak tug gives a clean transfer and ionic compounds: hard, brittle, high-melting salts that dissolve into charged particles and let water conduct electricity. Roughly matched tugs give sharing and covalent molecules: gases, liquids, and soft solids that mostly keep to themselves. Carbon, almost perfectly balanced, shares four pairs at once and chains endlessly with itself — which is the entire reason a chemistry of life, plastics, and fuels exists at all.
Atoms bond to fill their outer shell, by giving or sharing electrons, and that one choice sorts the entire material world.
- 1Rub two balloons on your hair so they pick up extra electrons and both go negative.
- 2Hold them near each other on threads: they swing apart, because like charges push away — the same force, reversed, that pulls Na⁺ and Cl⁻ together in salt.
- 3Now bring one charged balloon near a thin stream of tap water: the stream bends toward it, because water is slightly lopsided in charge from sharing electrons unevenly.
Common questions
In an ionic bond one atom gives an electron away outright and the resulting charged ions attract, as in table salt. In a covalent bond neither atom gives way, so they share a pair of electrons instead, as in hydrogen and water.
Salt is held together by ionic bonds, so it splits into charged sodium and chlorine ions in water that can carry a current. Sugar is covalently bonded and dissolves as whole, uncharged molecules, so there is little to conduct.
Carbon pulls on electrons almost perfectly evenly, so it shares four pairs at once and bonds happily to other carbon atoms. This lets it form rings and chains millions of atoms long, the basis of plastics, fuels and life.