The liver's main job is to filter the blood coming from the digestive tract, before passing it to the rest of thebody. ... As it does so, the liversecretes bile that ends up back in the intestines. The liver also makes proteins important for blood clotting and other functions.