Amazon Interview Question

Explain how caching works on different levels.