Optical properties

Why might an optical device intentionally include a dopant that introduces an absorption band within a host material’s otherwise transparent wavelength range?