The liver helps to process the food for energy and also helps to filter out the waste and harmful products.…