The glycemic index (GI) is a measure that classifies foods according to the speed at which they raise blood glucose levels.