Hydrocrbon is the organic compound which containing only the atoms hydrogen and carbon. Based on the saturation of hydrogens with the carbons they are classified as mainly three types . 1) Alkanes: All the H atoms are single bonded with carbon atom with the general formula Cn H2n +2 . 2) Alkenes : The lower number of H atoms are bonded to the carbon atom (double bond compounds) has formula with Cn H2n. 3) Alkynes: These are the triple bond compounds have fewer number H atoms bonded to the carbon atoms has the molecular formula Cn H2n -2 Solution Hydrocrbon is the organic compound which containing only the atoms hydrogen and carbon. Based on the saturation of hydrogens with the carbons they are classified as mainly three types . 1) Alkanes: All the H atoms are single bonded with carbon atom with the general formula Cn H2n +2 . 2) Alkenes : The lower number of H atoms are bonded to the carbon atom (double bond compounds) has formula with Cn H2n. 3) Alkynes: These are the triple bond compounds have fewer number H atoms bonded to the carbon atoms has the molecular formula Cn H2n -2.