Federal Reserve prints money.
The treasury prints Bonds.
Federal reserve prints money to buy bonds which the government then gets that money and spends it on whatever it wants. When you have lots of dollars chasing a few goods, the price goes up.
For example, Imagine 2 guys on an island...