I have my own novice theory that bank pays you interest for your deposit so that the value of principal amount remains the same in the future (as due to inflation, the price of the commodity will rise and our principal amount will not be able to buy the same amount of things). Is this theory true.
Because if not, then I have to way to con the banks, this is how it will be done:
As we know that Rs 10 would have bought me more good (lets say that good is 1 kg of aluminium) in the year 2010 than in 2020 (which only gets us 800 gram of aluminium for the same amount). Now instead of depositing Rs 10 cash to banks (lets say interest is 10% per decade) I will deposit an equivalent amount of aluminium. So in 2020 I will have more aluminium at a premium price (i.e. 1.1 Kg aluminium at Rs 13.75 and compare it with the usual Rs 11 for cash deposit ). I will take advantage of both interest and inflation.