Alkanes are organic compounds that consist entirely of single-bonded carbon and hydrogen atoms and lack any other functional groups. Alkanes have the general formula CnH2n+2 and can be subdivided into the following three groups: the linear straight-chain alkanes, branched alkanes, and cycloalkanes. Alkanes are also saturated hydrocarbons.