HbA1c, or glycated haemoglobin, is a crucial marker used to measure average blood sugar levels over the past two to three months.