MarsDevs interview question

How does decorators in python work?