To distinguish a hydrocarbon from its name, just focus on the ending letters in its name.
A saturated hydrocarbon having a single bond between two adjacent Carbon- Carbon atoms () is indicated by writing the word “ane” after the stem, then it should be an Alkane.
An Unsaturated hydrocarbon having a double bond between two adjacent Carbon- Carbon atoms () is indicated by writing the word “ene” after the stem, then it should be an Alkene.
An Unsaturated hydrocarbon having a triple bond between two adjacent Carbon- Carbon atoms () is indicated by writing the word “yne” after the stem, then it should be an Alkyne.