Breaks down fats, converts glucose to energy, make urine, filters blood to get rid of harmful substances such as drugs and alcohol, stores vitamins and minerals and makes cholesterol.
All of the above - plus generates heat, metabolises drugs (as well as filter the blood), helps provide stuff to make your blood clot, Its an amazing organ and humans can survive with only about 30% of it working