one important role of the liver is detoxifying substances that may cause harm. Some compounds, such as hydrogen peroxide, are produced in the body. Other toxic compounds may be consumed as part of our diet, health, or recreational reasons- e.g. medicine and/or recreational drugs.