Mass spectrometry is an analytical tool that can identify the weight of components in a sample. Mass spectrometry has many applications in environmental science such as testing for contamination in drinking water, measuring pesticides in food, assessing soil contamination, and monitoring pollution in the air.