Alkanes have single bonds between carbon atoms, alkenes have double bonds, and alkynes have triple bonds.