A study of the interaction of electromagnetic radiation with matter, often used to identify chemicals.