Commercial banks accept deposits and provide loans to earn a profit. They collect idle money and lend it to borrowers. Central banks regulate the money supply and banking system of a country. They act as lenders of last resort to commercial banks and oversee functions like issuing currency, managing reserves and implementing monetary policy. Inflation is a sustained rise in the general price level over time that reduces the purchasing power of money. There are different types of inflation like demand-pull, cost-push, disinflation and creeping/moderate/running inflation depending on factors like economic growth, material costs, taxes and rate of price increases.