In a hydrocarbon's name, the suffix -yl indicate that the molecule contains a functional group that is also a substituent and that there is another functional group that has a higher priority to it. The last part of the name of the functional group is replaced with -yl. For example, the alcohol functional group becomes hydroxyl.