The process by which drugs are converted into more water-soluble compounds that can be excreted from the body.