Doctors usually recommend this procedure if they suspect cancer or need to rule out other conditions. For instance, if a physical examination or imaging test revealed enlarged or abnormal lymph nodes, your doctor might recommend a biopsy. The biopsy could provide essential information about whether the abnormalities are due to cancer, infection, or other conditions.