Cognizant interview question

Explain decorator in python ?