1Rivet interview question

Why is map filter reduce used in python