the role of the liver in the processing of minerals and harmful substances