Gain equalization is required due to:
Amplifier gain is frequency (channel) dependent
Fiber attenuation is frequency (channel) dependent
Channels interact with each other in fiber (FWM, Raman, etc.)
Channels accumulate power variations resulting in reduced OSNR!
Gain equalization restores optimal channel power across the spectrum.
Various mechanisms are available: