The group of hydrocarbons consists only of carbon and hydrogen. Hydrocarbons are hydrophobic and are mostly used as energy carriers.