I was studying a functor and monad. So I got to know that a functor uses map and a monad uses flatMap, and also that
map
flatMap