To identify a hydrocarbon from its name, one should look at the ending letters in its name. For example , if the name ends with..

(i) Ane, than it should be an alkane (saturated hydrocarbon)

(ii) Ene, then it should be an alkene (Unsaturated hydrocarbon containing a double bond )

(iii) Yne, the nit should be alkyne (Unsaturated hydrocarbon containing a triple bond)