Ecotoxicology is the branch of science that deals with the nature, effects, and interactions of substances that are harmful to the environment.