Can hydrocarbons be considered compounds?

Hydrocarbons comprise the simplest series of organic compounds. These compounds are composed of carbon and hydrogen atoms in single, double, and triple bonds.  Depending on the type of central bond present, the hydrocarbon can be classified as an alkane (single bond), alkene (double bond), or alkyne (triple bond). A diene contains two double bonds.