The liver is the main organ responsible for detoxification. It performs this function through a series of complex biochemical reactions known as biotransformation. The liver converts hydrophobic toxins into hydrophilic substances, allowing them to be excreted through urine or bile. This process involves two phases: Phase I, which modifies toxins, and Phase II, which conjugates them with other molecules to enhance solubility.