The liver is equipped with enzymes that help in the biotransformation of chemicals, making them easier to excrete. This process, however, can sometimes produce toxic intermediates. The liver's capacity to detoxify can be overwhelmed by high doses or chronic exposure, leading to liver damage or hepatotoxicity.