the sun and energy levels