Value of money and inflation

What is the relationship between the time value of money and inflation? How do you take that into consideration when looking at cash flows for the company?