A hydrocarbon is a substance that is made of carbon and hydrogen. They are also called alkanes.
Some examples are methane, ethane, propane (used for fuel), butane (used in lighters), pentane, hexane, heptane, and octane.