Toxicity refers to the degree to which a substance can harm humans or animals. In the context of infectious diseases, it often pertains to the adverse effects of medications or treatments used to combat infections. Determining the toxicity of a drug is essential to balance its therapeutic benefits against potential harm.