Chain isomerism — When two or more compounds have a similar molecular formula but are different in the arrangement of carbon atoms in straight or branched chains the compounds are referred as chain isomers.
Example: Pentane C5H12
Pentane [n-pentane]

2-Methyl butane [iso-pentane]

2,2 Dimethyl Propane [neo-pentane]

Position isomers — When two or more compounds with the same molecular formula differ in the position of substituent atom or functional group on the carbon atom, they are called position isomers.
Example : But-1-yne and But-2-yne
But-1-yne

But-2-yne
