How does dry dog food work?

It’s made with meat, but doesn’t spoil for months. What’s up with that?

No moisture, lots of preservatives, high temp processing.

It’s basically dried grains and jerky, ground to a powder and compressed into nuggets.