Diagnal interview question

Why we use flatlist in react native? What’s the advantage over the map ??