Biotransformation involves two primary phases: Phase I and Phase II. In Phase I, toxins undergo oxidation, reduction, or hydrolysis to introduce or expose functional groups, often mediated by cytochrome P450 enzymes. Phase II involves conjugation reactions where the modified toxin is linked to an endogenous substrate like glucuronic acid, sulfate, or glutathione, making it more water-soluble and easier to excrete.