Theory:

Have you ever rubbed your hands together to stay warm in the winter?
If yes, heat is created in this process. This is an example of exothermic reactions.
Heat is also generated by chemical reactions.
Production of heat:
When the substances such as matchstick, and paper are burned, they turn into ashes under complete combustion. The ashes have an entirely new chemical composition than that of the unburnt substances.
 
shutterstock_258628391 (1).jpgshutterstock_1185676816.jpg
Burning of a matchstick
  
shutterstock_416864710.jpgshutterstock_344921741.jpg
Burning of wood
 
shutterstock_57283288.jpg
Paper turning into ashes
The chemical process in which substance reacts with oxygen to provide heat is known as combustion.
Example:
Case 1: When you add water to quicklime (Calcium oxide), a lot of heat is released, resulting in slaked lime (Calcium hydroxide).
 
Case 2: Take two clean test tubes and fill one test tube with sulphuric acid and another one with sodium hydroxide solution.

Slowly and carefully add sodium hydroxide solution to sulphuric acid. If we touch the test tube's sides, it will be hot. This is due to the exothermic reaction that is taking place.
 
As a result, certain chemical reactions take place with the production of heat.
Thermochemical reactions or thermolysis are the name for these types of reactions.
Production of light:
When you light a fire, what happens?
  
shutterstock_416864710.jpg
 
When you burn something, you get light. Some chemical reactions, such as these, result in the production of light.
Example:
When a piece of magnesium ribbon is burned in a flame, a bright light is emitted.
 
Fireworks used during festivals emit a variety of coloured lights as a result of chemical reactions.
 
Similarly, when methane gas is ignited, it produces heat and light.
shutterstock_570528055.jpg
Camphor
  
So, we may conclude that light is emitted for some chemical reactions.