A biopsy is a procedure that can be used to diagnose prostate cancer. A biopsy is when a small piece of tissue is removed from the prostate and looked at under a microscope to see if there are cancer cells. A Gleason score is determined when the biopsy tissue is looked at under the microscope.