Saama Technologies interview question

what are generators