Structural isomerism in a saturated hydrocarbon is due to
formation of branches in the chain of C atoms.
Compounds with identical molecular formula but different structures are called structural isomers. If the ratio of elements changes, so does the molecular formula. If a double bond is formed, two H atoms shall disappear from the molecule. Hence,only branching does not affect the molecular formula.
n-butane (C4H10) and iso-butane(C4H10) are structural isomers with same molecular formula but different structural formula.