Hydrocarbons are chemical compounds composed of carbon and hydrogen atoms. They form the basis of fossil fuels such as petroleum, natural gas, and coal.
These compounds occur naturally on Earth and are used as a source of energy in various industries, including transportation, electricity generation, and heating.
Hydrocarbons can have different structures and properties, which determine their specific uses and characteristics.
Their extraction, production, and use have environmental impacts, and more sustainable alternatives are being sought in the energy sector.