A chemical structure specifies how chemical atoms are connected and, where relevant, how they are arranged in space. A molecular formula counts atoms; a structural formula supplies connectivity information. Molecular geometry and stereochemistry add spatial distinctions that cannot generally be recovered from the atom inventory alone.[ref]
IUPAC Compendium of Chemical Terminology, fifth edition (Gold Book) by International Union of Pure and Applied Chemistry. Entry S06061, structural formula: information on how atoms in a molecule are connected; DOI 10.1351/goldbook.S06061.
For a concrete comparison, ethanol and dimethyl ether both have molecular formula . Their condensed structural formulas arerespectively. In ethanol, the oxygen is bonded to one carbon and one hydrogen; in dimethyl ether, it is bonded to two carbon atoms. The same atom counts therefore describe different connectivities.
A drawing is a representation of a chemical structure, not necessarily a frozen picture of every atom's position. Rotating around a bond can change a molecule's spatial arrangement while preserving its connectivity. Conversely, two drawings that look different on the page can represent the same chemical structure. Establishing identity requires interpreting bonds and spatial conventions, not comparing the appearance of the diagrams alone.
New to topics? Read the docs here!