Spectral analysis and Energy of Light