the monochromator is a wavelength selector that passes through only a specific frequency of light.
In UV, the wavelength that has the most absorption is used for the actual tests, hence we need to select the wavelength prior to it passing through the sample [as a mixed range of wavelengths would mean some of each would be absorbed to different levels, i.e. very confusing end result]
also keep in mind that this occurs in a completely "dark" environment [no ambient radiation], so monochromator is not needed to single out a frequency for the detector [whereas AAS does]
in AAS, only specific frequencies are emitted by the cathode lamp [that matches the metal], which matches the exact quantum of energy that promotes electrons [to different levels], hence the worry about competiting wavelength is no more, and there is no exact need for the monochromator to be put before the sample [the cathode lamp is specific].
however, the sample is sprayed in flame, and flame [combustion] releases light [as we can see], this is just one amongst many ambient "noise" added to our specific frequency tested for absorbance in AAS, hence we add the monochromator to ensure that ONLY this frequency is recieved in the detector, not any ambient radiation.