Abortion means spontaneous or induced expulsion of products of conception before the period of viability( 28 weeks).
In medical practice, the abortion occurs in 1st trimester, miscarriage in the 2nd trimester and premature labor in the 3rd trimester.
legally all the above terms are synonymous.