Infosys Interview Question

what is iterator and generator in python?