During a liver biopsy, a physician numbs the area around the liver using a local anesthetic and then using a long, narrow needle obtains a tiny piece of liver tissue. A liver biopsy is used to determine the presence of inflammation, fibrosis, and to help diagnose various liver diseases.