The liver is an accessory digestive gland and produces bile, an alkaline compound which aids in digestion via the emulsification of lipids.