Can one answer in 400 characters? We'll try.
If you are Rh negative and the father of the baby is Rh positive, there is a chance that the baby has Rh antigen
on its blood cells. If your immune system sees those cells you will make antibodies to them, which could attack a future Rh positive pregnancy
attaches to the fetuses Rh expressing cells in your circulation and prevents this.