What’s in the CPI and what does it actually measure?

What’s in the CPI and what does it actually measure?