For most types of tumors, a biopsy is the only sure way for the doctor to know if cancer is present. In a biopsy, the doctor takes a small sample of tissue for testing in a laboratory. If a biopsy is not possible, the doctor may suggest other tests that will help make a diagnosis.