The CPI tracks prices for a basket of goods and services people commonly buy in eight major categories, including: food and beverage, recreation, apparel, transportation, housing, medical care, and education.