Skip to main content
Chemistry LibreTexts


Hydrocarbons are organic compounds that contain only carbon and hydrogen. The four general classes of hydrocarbons are: alkanes, alkenes, alkynes and arenes. Aromatic compounds derive their names from the fact that many of these compounds in the early days of discovery were grouped because they were oils with fragrant odors.