Explanation:
Hydrocarbons are defined as organic compounds which are only made from carbon and hydrogen atoms.
There are mainly 3 types of hydrocarbons:
- Alkanes are the type of hydrocarbons where a single bond is present between the carbon atoms. The general formula for these is [tex]C_nH_{2n+2}[/tex], where 'n' is the number of carbon atoms.
- Alkenes are the type of hydrocarbons where at least one double bond is present between the carbon atoms. The general formula for these is [tex]C_nH_{2n}[/tex], where 'n' is the number of carbon atoms.
- Alkynes are the type of hydrocarbons where at least one triple bond is present between the carbon atoms. The general formula for these is [tex]C_nH_{2n-2}, where 'n' is the number of carbon atoms.