The CPI measures the prices of certain consumer goods and services over time to discern changes in prices that indicate inflation. The prices for those goods and services are obtained from American consumers by way of the Consumer Expenditure Survey conducted by the Census Bureau for the Bureau of Labor Statistics (which publishes the CPI).