What is the role of inflation-indexed bonds in protecting purchasing power?

How do inflation-indexed bonds help investors preserve real purchasing power?,