EDTA (Ethylenediaminetetraacetic acid) is a chelating agent that binds to lead ions in the body, forming a stable complex. This allows the lead to be excreted through urine, reducing lead toxicity and making it an effective treatment for lead poisoning.