A spleen biopsy is performed to diagnose or rule out conditions such as lymphomas, leukemias, infections, and other splenic disorders. It can also be used to investigate unexplained splenomegaly (enlarged spleen) and to evaluate the effectiveness of treatments for splenic diseases.