A medical procedure performed to end a pregnancy.