Abortion is the ending of pregnancy by removing a fetus or embryo before it can survive outside the uterus.