A biopsy determines the tumor’s nature (benign or malignant) and guides the treatment plan. It can be done before surgery or during tumor removal for immediate analysis.