The process of identifying and quantifying the chemical components of a sample. It involves various techniques such as spectroscopy, chromatography, and mass spectrometry to analyze complex mixtures.