Cognizant Interview Question

how saga work and what is generator?