MarsDevs Interview Question

How does decorators in python work?