Different stages of the cycle gives off different wavelengths of light because more types elements are being made as you go farther down the cycle. So looking at the wavelengths that the light gives off can determine what stage a star is currently in