PwC Interview Question

Explain how a decorator works