Soliton Technologies interview question

what is a decorator in python, explain in detail