What is inflation, and when does it go wrong?