A miscarriage is the spontaneous loss of a fetus before the 20th week of pregnancy. (Pregnancy losses after the 20th week are called preterm deliveries.)
Most miscarriages occur when the unborn baby has deadly genetic problems. Usually, these problems are unrelated to the mother.
Sources
MedlinePlus - Miscarriage