Collegedunia interview question

What are decorators and generator functions?