Toxicology is the study of toxins and their effects on living organisms. When overeating leads to excessive intake of certain substances, these can act similarly to toxins, causing harm to the body. For instance, glucose toxicity can occur with excessive sugar intake, leading to insulin resistance and diabetes.