What is the purpose of the HbA1c test?

When sugar levels in the blood remain high over time, sugar will bind with the hemoglobin protein found in red blood cells. The HbA1c test can help evaluate whether or not a person is at-risk or already has elevated blood sugar levels.