The process begins with the collection of samples from wastewater treatment plants. These samples are then analyzed in laboratories to detect the presence of target substances. Techniques such as polymerase chain reaction (PCR) and mass spectrometry can be used to identify and quantify the substances of interest. The results are then interpreted to provide an understanding of the prevalence and trends of the detected substances in the community.