An endometrial biopsy is typically performed when a woman experiences abnormal uterine bleeding, especially postmenopausal bleeding, or when there are other symptoms that suggest a possible malignancy. It helps in diagnosing conditions such as endometrial hyperplasia (an overgrowth of the lining of the uterus), polyps, and cancer. The procedure is also used to evaluate unexplained infertility or monitor the effects of hormone therapy.