For example, when you burn wood, the chemical reaction between the wood and oxygen releases energy in the form of light and heat. The light is visible as flames, and the heat can be felt as warmth.
Another example is the reaction between luciferin and oxygen, which produces light in fireflies. This reaction also produces heat, but it is not as noticeable as the light because the amount of heat produced is much smaller.
In general, the more energy that is released in a chemical reaction, the more light and heat will be produced.