The Hartford interview question

what is a decorator in python.