Sometimes a biopsy may be needed to better diagnose a problem and to see if a specific treatment is working. A biopsy is a small piece of tissue that is taken from the liver and given to a pathologist. There are several different kinds of biopsies.