In a simple view, if the mean of payment has its unities multiplied in excess of a balanced relation to goods/services in a given market, then it is obvious that its intrinsic value will decrease; that would drive inflation upwards. In the exact opposite way, we may think of deflation.
It is true what you say is that inflation is happening because more demand is compared to the existing supply, so if it happens the opposite will be deflation.