During a total solar eclipse, the bright photosphere is blocked, allowing the hotter, less dense chromosphere to be seen. This emits light at specific wavelengths, producing a line emission spectrum (flash spectrum).