Detection of soil and water contamination involves various analytical techniques, including chromatography, spectroscopy, and bioassays. These methods help identify and quantify the presence of contaminants. Advanced technologies like mass spectrometry and NMR provide detailed insights into the chemical composition of samples, allowing for accurate assessment of contamination levels.