If your doctor suspects you have lung cancer, they may do a biopsy. A lung cancer biopsy is a procedure to remove cells or tissue from the growth in your chest. They will test the sample for cancer. A biopsy is the best way to confirm if you have lung cancer.