A prostate biopsy is a procedure that removes small samples of tissue from the prostate. It is used to diagnose prostate cancer.