Near-infrared spectroscopy is based on the absorption of radiation. This versatile technique makes possible the simultaneous determination of substances (active pharmaceutical ingredients, excipients and contaminants) on the one hand, and permits the convenient monitoring of processes such as mixing, granulation and drying on the other.