Chemistry is the study of matter — anything that has mass and occupies space. Matter is first classified physically into solids, liquids and gases, and chemically into pure substances (elements and compounds) and mixtures (homogeneous and heterogeneous). An element contains only one kind of atom; a compound contains two or more elements combined in a fixed ratio by mass.
The way elements combine is governed by the laws of chemical combination, the experimental foundations of modern chemistry:
- Law of Conservation of Mass (Lavoisier): mass is neither created nor destroyed in a chemical reaction. The total mass of reactants equals the total mass of products.
- Law of Definite (Constant) Proportions (Proust): a given compound always contains the same elements in the same fixed proportion by mass — e.g. pure water always has H and O in the mass ratio $1:8$.
- Law of Multiple Proportions (Dalton): when two elements form more than one compound, the masses of one element that combine with a fixed mass of the other are in small whole-number ratios. For $CO$ and $CO_2$, the masses of oxygen per $12\,g$ of carbon are $16\,g$ and $32\,g$, a ratio of $1:2$.
- Gay-Lussac's Law of Combining Volumes: gases react in volume ratios that are simple whole numbers (at constant $T$ and $P$).
- Avogadro's Law: equal volumes of all gases at the same temperature and pressure contain equal numbers of molecules.
To count the enormous numbers of atoms in any real sample, chemists use the mole. One mole is the amount of substance containing exactly $N_A = 6.022\times10^{23}$ entities (atoms, molecules or ions) — the Avogadro constant. The molar mass (in $g\,mol^{-1}$) is numerically equal to the atomic or molecular mass expressed in unified atomic mass units (u). Thus $1\,mol$ of carbon-12 weighs exactly $12\,g$, and $1\,mol$ of water weighs $18\,g$.
The mole links three measurable quantities: mass $\left(n=\dfrac{m}{M}\right)$, number of particles $\left(N=n\times N_A\right)$, and for gases at STP, volume $\left(V=n\times 22.4\,L\right)$. Atomic masses themselves are relative values measured on the $^{12}C$ scale, where one atom of carbon-12 is assigned exactly $12\,u$.