Cognizant Interview Question

What is a decorator, what is iterator.