How is the liver associated with the digestive system? The liver carries out many different functions within your body. However, the function that is most closely linked to the digestive system is the production of bile, which helps in digestion of lipids.