Dilation and evacuation (D&E) is a procedure to end a pregnancy in the second trimester. It may be done for many reasons.