So, flatten does essentially the same thing as concat it takes a collection of collections and returns a single collection containing all the elements in the sub, sub-collections and if the collection is a sequence, then the combination will be just the concatenation of these sub-collections. 