Hydrocarbons are organic compounds made up of only carbon and hydrogen atoms.
They are the primary components of fuels like natural gas, petrol, and diesel.
Hydrocarbons are classified based on the types of bonds between carbon atoms.
The three main types are Alkanes, Alkenes, and Alkynes.

Alkanes are saturated hydrocarbons that contain only single bonds between carbon atoms.
Their general formula is CₙH₂ₙ₊₂, and examples include methane, ethane, and propane.
Alkanes are generally less reactive and are used as fuels and lubricants.
Alkenes are unsaturated hydrocarbons with at least one carbon-carbon double bond.

The general formula of alkenes is CₙH₂ₙ, and examples include ethene and propene.
Alkenes are more reactive than alkanes and are used in making plastics and chemicals.
Alkynes are unsaturated hydrocarbons with at least one carbon-carbon triple bond.
Their general formula is CₙH₂ₙ₋₂, and examples include ethyne and propyne.

Alkynes are highly reactive and are used in welding, organic synthesis, and industrial processes.
Hydrocarbons can undergo combustion to produce energy, carbon dioxide, and water.
They are also used as starting materials for making a variety of chemicals.
Understanding hydrocarbons is important for chemistry, industry, and energy production.

Hydrocarbons form the basis of petrochemicals, which are vital for modern life.
Proper handling and usage of hydrocarbons are essential for safety and environmental protection.