A liver biopsy is performed to diagnose liver diseases, assess the severity of liver damage, and monitor the effectiveness of treatment. Conditions often investigated through liver biopsy include non-alcoholic fatty liver disease, alcoholic liver disease, autoimmune hepatitis, and liver fibrosis.