A biopsy involves taking a small sample of tissue for examination under a microscope. Endometrial biopsies can help diagnose conditions such as endometrial hyperplasia or cancer. Cervical biopsies are performed following abnormal Pap smear results to determine the presence and extent of dysplasia or malignancy.