This test is mainly used to diagnose prostate cancer and see if it has spread. It may also be used to help with a biopsy of prostate tissue.