Chemical transformation of toxins, drugs, amino acids and nutrients in the body into substances that are useful for body function. This process also helps to break down body waste into less harmful substances ready for excretion.