The wood in a matchstick is made of cellulose, a polymer of glucose molecules. When you light the matchstick, heat and light are given off, indicating that an exothermic reaction is occurring.
There are two types of reactions:
1. Exothermic reactions: In these reactions, the reactants combine to form product and heat is liberated. Example, burning of fuel.
2.Endothermic reactions: In these reactions, the reactants combine to form product and heat gets absorbed from the surroundings. Example, photosynthesis in plants where the energy of the Sun gets absorbed.