Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infra-red light for analysing liquids, e.g. polluted water