The chemical alteration of an exogenous substance by or in a biological system. The alteration may inactivate the compound or it may result in the production o…