Dilation and curettage (D&C) is a surgical procedure primarily used to diagnose and treat conditions affecting the uterus, such as abnormal bleeding or to remove tissue after a miscarriage. It involves dilating the cervix and then using a curette to remove uterine contents, which can be both diagnostic and therapeutic.