The Rh factor is a protein on red blood cells. If an Rh-negative mother carries an Rh-positive fetus, her immune system may attack the fetus's blood cells (hemolytic disease of the newborn). It is not used to detect infections or cancer susceptibility.