The liver functions to regulate nutrient levels in the blood, store carbohydrates, iron, vitamins A and D, and synthesize plasma proteins and cholesterol. It also plays a key role in detoxification by breaking down old red blood cells and filtering toxins from the blood via the hepatic portal vein and sinusoids before blood exits through the hepatic vein. Excessive alcohol consumption can damage the liver by disrupting these important functions.