A transrectal ultrasound is an imaging test to check a man's prostate gland. Tissue samples (a biopsy) may also be taken.