"Inflation is the increase in the prices of goods and services over time," the Federal Reserve explains (Federal Reserve). It isn't about one item getting pricier. "Rather, inflation is a general increase in the overall price level of the goods and services in the economy."
Inflation is measured with price indexes, which track the cost of a set group of goods and services. The rate is usually given as a yearly percentage. If prices rise 3% in a year, a basket of groceries that cost $100 costs $103 a year later.
That's why inflation matters for savings: money that earns less than the inflation rate loses buying power over time. Inflation is also one of the things the Fed watches when it sets its interest rate target.