The map() function applies a given to function to each item of an iterable and returns a list of the results. The returned value from map() (map object) can then be passed to functions like list() (to create a list), set() (to create a set) and so on.