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 $$C_nH_{2n+2}$$.