American Airlines Interview Question

What is the difference between accrued and deferred expenses?