Two molecules are structural isomers when they differ only in their shape.