EPAM Systems interview question

Difference between Map and FlatMap