Why Do We Throw Away So Much Food?

I work at a fast food place and I am appalled by the amount of unpurchased food we throw away. The boss says we can’t give it away for legal reasons.