A cervical biopsy is a procedure in which a small tissue sample is taken from the cervix for microscopic examination. It is commonly performed after abnormal Pap or HPV test results, or during a colposcopy, to detect precancerous changes or cervical cancer and guide appropriate treatment.