Hydrocarbons are organic compounds entirely composed of hydrogen and carbon atoms and they are the principal constituents of petroleum and natural gas. Hydrocarbons can be classified as either aliphatic or aromatic compounds, where aliphatic compounds can be divided into alkanes, alkenes, and alkynes based on the structure and bonding of the carbon skeleton, while aromatic hydrocarbons contain a benzene or conjugated ring.