Ecotoxicology is the study of how chemical pollutants such as pesticides, heavy metals, and industrial substances affect the environment, including water, soil, plants, and animals, while residue analysis focuses on detecting and measuring small amounts of these chemicals in products like food, water, and soil using techniques such as gas chromatography (GC), high-performance liquid chromatography (HPLC), and mass spectrometry (MS); together, these two fields are essential for protecting human health and ecosystems, ensuring food safety, and monitoring environmental contamination, especially in products like olive oil where residue analysis helps verify the absence or acceptable levels of pesticide residues and ecotoxicology evaluates their impact on biodiversity and agricultural sustainability.

Socio-économie agricole