Xoriant interview question

what is Generators and Decorators ?