Which of the following correctly describes the energy changes in the generation of light by…