How Atoms and Molecules Work: The Basics of Chemistry

Photo: Tara Winstead / Pexels
An atom is so small that a single strand of human hair is roughly one million carbon atoms wide. Yet these invisible specks are the fundamental units of all matter — the building blocks of stars, oceans, your body, and this sentence. Understanding how atoms work is the foundation of chemistry, biology, and materials science.
The story of atoms is also the story of electrons: how they arrange themselves, how they reach out to neighboring atoms, and how those interactions produce everything from table salt to DNA.
Key takeaways
- Atomic structure: Every atom has a nucleus of protons and neutrons surrounded by electrons in defined energy levels called shells.
- Atomic number: The number of protons uniquely defines an element — carbon always has 6, oxygen always has 8.
- Octet rule: Atoms are most stable when their outer electron shell holds 8 electrons, which drives chemical bonding.
- Ionic bonds: Form when one atom donates electrons to another, creating oppositely charged ions that attract.
- Covalent bonds: Form when atoms share electron pairs, producing discrete molecules like water (H₂O).
- Electronegativity: The tendency of an atom to attract electrons determines bond polarity and molecular behavior.
The Architecture of an Atom
Atoms consist of three types of particles. Protons carry a positive charge and live in the nucleus. Neutrons carry no charge and also occupy the nucleus. Electrons carry a negative charge and orbit the nucleus in regions called electron shells or energy levels.
The number of protons — called the atomic number — defines which element you have. Carbon has 6 protons; change that to 7 and you have nitrogen. Neutrons can vary within an element, producing isotopes: carbon-12 has 6 neutrons, carbon-14 has 8. Most carbon-14 is unstable and decays radioactively, which is why it can be used to date ancient organic material.
In a neutral atom, the number of electrons equals the number of protons. Electrons do not orbit the nucleus in fixed circular paths like planets around a sun — that model, proposed by Niels Bohr in 1913, was an important step but is incomplete. Modern quantum mechanics describes electrons as occupying probability clouds called orbitals. An orbital is a region of space where there is a high probability of finding an electron.
Orbitals group into shells. The first shell holds a maximum of 2 electrons. The second holds up to 8. The third can hold up to 18, though it is most stable with 8. These numbers emerge from quantum mechanics: each shell has a specific energy, and electrons fill from lowest to highest energy.
Electron Shells and Why They Matter
The electrons in the outermost shell — called valence electrons — are the ones that participate in chemical reactions. The inner electrons are tightly bound to the nucleus and essentially inert.
The octet rule, first articulated by Gilbert Lewis in 1916, captures a fundamental stability principle: atoms are most stable when their outermost shell contains 8 electrons (or 2, for the smallest atoms). This stability is why noble gases — helium, neon, argon — are chemically inert. Neon has 8 valence electrons already and has no drive to react with other atoms.
Sodium (Na), by contrast, has one lonely valence electron in its outer shell. Chlorine (Cl) has 7. Each is one step away from the magic number of 8 — sodium by losing one electron, chlorine by gaining one. This mutual need is the seed of a chemical reaction.
The energy required to remove an electron from an atom is called ionization energy. Sodium's ionization energy is relatively low — its outermost electron is shielded from the nucleus by two inner shells and sits far away. Fluorine's outermost electrons are held much more tightly. These differences in electron affinity and ionization energy govern which elements react with which.
Ionic Bonds: Electron Transfer
When sodium and chlorine react, sodium transfers its lone valence electron to chlorine. The result: sodium becomes Na⁺ (one more proton than electrons, so positive charge) and chlorine becomes Cl⁻ (one more electron than protons, so negative charge). These oppositely charged ions attract each other electrostatically — this attraction is an ionic bond.
Ionic compounds form crystalline lattices rather than discrete molecules. Table salt (NaCl) is not a molecule of one sodium and one chlorine — it is an extended three-dimensional grid of alternating Na⁺ and Cl⁻ ions, each surrounded by six neighbors of the opposite charge. This structure gives NaCl its high melting point (801°C) and its brittleness (strike it and the lattice shatters along planes where like charges suddenly align).
Ionic bonds are generally strong but dissolve readily in water because water molecules are polar and can surround and stabilize the individual ions, pulling them away from the lattice. This is why salt dissolves in water.
Covalent Bonds: Electron Sharing
Not all atoms have such divergent electron needs. Two hydrogen atoms, each with one electron and a vacancy for one more, solve their problem by sharing: both electrons occupy a shared orbital between the two nuclei, binding the atoms together. This is a covalent bond.
Covalent bonds produce discrete molecules. Water (H₂O) consists of one oxygen atom covalently bonded to two hydrogen atoms. Oxygen has 6 valence electrons and needs 2 more; each hydrogen has 1 and needs 1 more. By sharing, both requirements are met simultaneously.
The distance and energy of a covalent bond depend on the atoms involved and whether they share one, two, or three electron pairs. A single bond (one shared pair) is weaker and longer than a double bond (two shared pairs). The C=O double bond in carbon dioxide is shorter and stronger than the C–O single bond in methanol. Triple bonds, like the N≡N in molecular nitrogen, are extremely strong — which is why nitrogen gas is so inert and why breaking it to make ammonia for fertilizer (the Haber-Bosch process) requires high temperature and pressure.
Electronegativity and Polar Molecules
Linus Pauling quantified electronegativity — the tendency of an atom in a bond to attract the shared electron pair toward itself. Fluorine is the most electronegative element. Oxygen and nitrogen are also highly electronegative. Carbon and hydrogen are moderate.
When two atoms of very different electronegativity share electrons, the sharing is unequal: the more electronegative atom hogs the electrons. This creates a polar covalent bond with a partial negative charge (δ–) on the electron-rich end and a partial positive charge (δ+) on the electron-poor end.
Water is the classic example. Oxygen is more electronegative than hydrogen, so the O–H bonds are polar, with negative charge concentrated on the oxygen. The molecule's bent shape (the two H–O–H bonds form a 104.5° angle) means the partial charges do not cancel out — water is a polar molecule overall. This polarity makes water an extraordinary solvent, gives it an unusually high surface tension, and enables life.
From Molecules to Chemistry
Chemical reactions are, at their core, rearrangements of electrons. Bonds break and form, atoms swap partners, and energy is released or absorbed. The driving force is always the same: atoms seeking to lower their energy and achieve stable electron configurations.
Activation energy — the energy needed to start a reaction — explains why gasoline does not spontaneously ignite: the C–H bonds in hydrocarbons are stable, and a spark must supply enough energy to initiate the bond-breaking that triggers the exothermic combustion reaction.
Catalysts speed reactions by providing an alternative pathway with lower activation energy. Enzymes are biological catalysts: the enzyme amylase in your saliva begins breaking the glycosidic bonds of starch into sugars before the food reaches your stomach.
Understanding atoms and molecules is understanding chemistry itself — the science of how matter transforms, why substances behave as they do, and how new materials, drugs, and fuels can be designed from the ground up, one atom at a time.
FAQ
Q: How small is an atom really? A: A hydrogen atom has a diameter of about 0.1 nanometers (10⁻¹⁰ meters). If an atom were magnified to the size of a football stadium, the nucleus would be roughly the size of a marble at the center — meaning atoms are almost entirely empty space.
Q: Why don't atoms collapse if they are mostly empty space? A: The electron shells have defined energy levels, and quantum mechanics forbids electrons from falling into lower energy states that are already occupied (the Pauli exclusion principle). The electrons' kinetic energy and quantum nature prevent collapse into the nucleus.
Q: What is the difference between an atom and an element? A: An element is a pure substance defined by its atomic number (number of protons). An atom is a single particle of that element. "Carbon" is an element; a single carbon atom is one atom of that element.
Q: Can atoms be created or destroyed in chemical reactions? A: No. In ordinary chemical reactions, atoms are rearranged but never created or destroyed — this is the law of conservation of mass. Only nuclear reactions (fission and fusion) can change one element into another by altering the number of protons.
Q: What holds the nucleus together if all the protons repel each other? A: The strong nuclear force — one of the four fundamental forces — holds protons and neutrons together at very short distances (about 10⁻¹⁵ meters). It is far stronger than electromagnetic repulsion at that scale but drops off rapidly with distance.
Q: What are isotopes and do they behave differently chemically? A: Isotopes are versions of the same element with different numbers of neutrons. Carbon-12 and carbon-13 are both carbon, but carbon-13 has one extra neutron. Chemically, isotopes behave nearly identically because chemistry depends on electron configuration, not neutron count. However, heavier isotopes react slightly more slowly — a phenomenon called the kinetic isotope effect.
Q: What is a mole in chemistry? A: A mole is a counting unit: exactly 6.022 × 10²³ particles (Avogadro's number). One mole of carbon atoms has a mass of 12 grams. The concept lets chemists work with measurable masses of substances while accounting for the astronomically large number of atoms they contain.
Read next:
Weekly digest
Stay ahead of the curve
Get the best science, AI, and tech stories delivered to your inbox every week. No spam — unsubscribe any time.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. Articles are drafted against peer-reviewed literature and primary sources, fact-checked, and edited by a human before publication. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

Physics-Informed Neural Networks (PINNs): When AI Learns the Laws of Physics
PINNs embed physical equations directly into neural network training, enabling powerful simulations that respect the laws of nature by design.

Fermat's Last Theorem: The 358-Year Math Mystery Finally Solved
A margin note scribbled in 1637 baffled the world's greatest mathematicians for 358 years. Here's how it was finally cracked.

John Dalton: Proposing the Atomic Theory of Matter
Dalton proposed that all matter consists of indivisible atoms, and that chemical reactions involve atoms rearranging. He transformed chemistry from observational to theoretical science — and was right about almost everything.

The Periodic Table Explained: How Chemistry Is Organized
From Mendeleev's 1869 discovery to oganesson's relativistic quirks — a complete guide to how the periodic table organizes all known chemistry.

The Periodic Table Explained: How Elements Are Organized
The periodic table is the most powerful organizing tool in science — and it predicted elements that hadn't been discovered yet.

Amedeo Avogadro: Equal Volumes, Equal Particles
Avogadro proposed that equal volumes of gases contain equal numbers of particles. His insight bridged atomic and molecular theory, enabling modern chemistry's quantification.