Both have a molecular formula of \({C_4}{H_{10}}\). The structural formulae are different though, so they are isomers of each other. Polar and ionic compounds tend to be soluble in polar solvents ...
Isomers are molecules with the same formula but different chemical structures. Can be used to recap on isomers or could lead into a classroom discussion on nature’s chemistry.