The HbA1C test is used to detect diabetes. By detecting sugar molecules connected to red blood cells, HbA1C tells us about blood glucose control during the previous three months. If your HbA1C levels are abnormal, a fasting blood glucose test may be required to confirm the diagnosis of diabetes or prediabetes.