A biopsy is the only sure way to know if a person has cancer. A biopsy is the removal of tissue. A pathologist studies the tissue under a microscope to look for cancer cells.