Atoms rarely sit alone
Take a deep breath. The air you just pulled in is not made of lonely oxygen atoms drifting around — it is made of oxygen atoms stuck together in pairs, and nitrogen atoms stuck together in pairs. Water is two hydrogen atoms latched onto one oxygen atom. Almost everywhere you look, atoms are joined into little groups rather than floating free. The thing that joins them is called a [[pc-chemical-bond|chemical bond]], and learning what a bond is, really, is the doorway into all of chemistry.
Here is the first surprise: a bond is not glue, and it is not a tiny rope. It is something much sneakier. A bond is what happens when arranging the electrons of two atoms in a shared way ends up with *less energy* than keeping the atoms apart. Nature drifts toward low energy the way a ball rolls downhill, so atoms 'fall' into bonded arrangements and stay there. A bond, at heart, is just a low-energy resting place for electrons shared between nuclei.
The eight-electron itch
Why do atoms bother bonding at all? It comes down to the outermost electrons — the ones in the highest-energy shell, called valence electrons. Atoms are at their calmest, lowest-energy when that outer shell is *full*. For most everyday atoms, a full outer shell means eight valence electrons (helium is happy with two). Chemists call this loose rule the octet tendency: atoms tend to gain, lose, or share electrons until they reach a full, stable outer shell.
This is the same logic as an atom's electron configuration from atomic structure — but now we let two atoms cooperate. The full pattern of how each atom's electrons are arranged in its atomic orbitals decides how many electrons it wants to give, take, or share. An atom that is one electron short of full will go to great lengths to grab one; an atom with a single spare electron in a fresh shell will happily give it away. Put those two together, and a bond is almost inevitable.
Two ways to get to eight: give or share
There are two main strategies for reaching a full outer shell. The first is transfer: one atom hands an electron (or two) completely over to another. Now one atom is positively charged because it lost a negative electron, and the other is negatively charged because it gained one. Opposite charges attract, so the two cling together. That electrostatic stick-together is an ionic bond. Table salt is the classic case — sodium gives one electron to chlorine, and the resulting charged atoms snap together into a crystal.
The second strategy is sharing: neither atom is willing to give up an electron outright, so they pool a pair of electrons in the space between them. Each atom gets to count the shared pair as 'its own', so both feel closer to a full shell. A shared pair of electrons sitting between two nuclei is a covalent bond. The hydrogen in water, the carbon in your body, the oxygen you breathe — almost all of life's chemistry runs on shared, covalent bonds.
The tug-of-war that decides everything
Whether atoms give or share depends on how greedy each one is for electrons. We measure that greed with a single number called electronegativity: how strongly an atom pulls on the electrons in a bond. Fluorine and oxygen are champion pullers; metals like sodium and potassium barely pull at all. The bigger the gap in electronegativity between two atoms, the more one-sided the tug-of-war becomes.
- Tiny difference (two of the same atom, like O–O): perfectly even sharing — a pure covalent bond.
- Moderate difference (like H–O in water): they still share, but the greedier atom hogs the pair — a lopsided, polar covalent bond.
- Huge difference (like Na–Cl): the pull is so one-sided the electron is yanked clean off — an ionic bond.
So there is no sharp wall between 'covalent' and 'ionic'. They are two ends of one smooth ramp, and electronegativity is the dial that slides you along it. This single idea — that the *difference* in electron-greed decides the character of a bond — will keep paying off through every guide that follows.