Ecotoxicology is the study of the effects of toxic chemicals on biological organisms, particularly within the context of ecosystems. It combines principles from ecology and toxicology to understand the impact of pollutants on the environment and to assess the risks posed to both wildlife and humans.